KPageControllerImpl

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override 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
open override 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
open override var placeholderItem: RegisteredKItem?

Item which can be used in the builder as a placeholder

Link copied to clipboard
open override var previousBtn: RegisteredKItem?

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
Link copied to clipboard
open override fun build(): KRow

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