KPageController

interface KPageController

Models the footer inside a page in a paging inventory

Author

Devin

Since

1.0.0

See also

Inheritors

Properties

Link copied to clipboard
abstract var builder: (nextBtn: RegisteredKItem?, previousBtn: RegisteredKItem?, placeholder: RegisteredKItem?) -> KRow

Function used to generate the KRow which represents this controller as items

Link copied to clipboard
abstract var nextBtn: RegisteredKItem?

Item used as a button for the user to go to the next page A click listener will be attached to it when the inventory is built, to handle pagination

Link copied to clipboard

Item which can be used in the builder as a placeholder

Link copied to clipboard

Item used as a button for the user to go to the previous page A click listener will be attached to it when the inventory is built, to handle pagination

Functions

Link copied to clipboard
abstract fun build(): KRow

Used to build the controller, which will then be placed on the page as a row. Using the builder supplied