Components/ Pagination

pagination

Example Usage

As always, you can find this example in the Components sample.

LabelWithBinding

Create an UI controller class named LabelWithBinding. This allows us to reuse existing elements, instead of deleting and recreating elements at runtime.

This approach improves performance by reducing garbage collection overhead and ensures smoother UI updates.

CSHARP

PaginationDemo

CSHARP

Pagination<T>

Pagination<T> is the base class for controlling data, without any relation to UI.

Contructors

Public Methods

NextPage

PreviousPage

GoToPage

GetCurrentPageElements

GoToPage

Events

OnPageChange

PaginationController<T>

PaginationController<T> is the UI controller class that makes use of Pagination<T>.

Contructors

Public Methods

SetUI

UpdateUI

Show

Hide