Releases: jamal-wia/Paginator
Releases · jamal-wia/Paginator
3.3.0
3.2.1
3.2.0
3.1.0
"Paginator":
- added val size
- added val pageStates: List
- added asFlow()
- added fun getElement
- added fun resnapshot
- added operator fun compareTo
- added operator fun iterator
- added operator fun contains
- added operator fun minusAssign
- added operator fun minusAssign
- added operator fun plusAssign
- added operator fun get
- modified equals for PageState
- added foreEach
- added safeForeEach
3.0.0
"Paginator":
- added startContextPage and endContextPage
- added silentlyLoading and silentlyResult for jump, goNextPage and goPreviousPage, restart
- added inline logic for loadOrGetPageState
- added fastSearchPageBefore and fastSearchPageAfter
- class Paginator -> open class Paginator
- val source -> var source
- added const val DEFAULT_CAPACITY
- private val cache -> protected val cache
- cache = hashMapOf -> cache = sortedMapOf
- added typealias for init lambdas
- changed name all the init lambdas
- removed docs
- loadPageState -> loadOrGetPageState
- added ProgressPageFactory, SuccessPageFactory, EmptyPageFactory, ErrorPageFactory
- renamed ProgressPage, SuccessPage, EmptyPage, ErrorPage
- PageState implement Comparable now
- cleaned code
2.5.5
2.5.1
2.5.0
"Paginator":
- fun copy became abstract
- PageState.Empty became extender of PageState.Empty
- added new functions for check customs states isRealProgressState, isRealEmptyState, isRealSuccessState, isRealErrorState
- edited logic keep data of state now these are keeping List (ReadOnly)
- and a few more minor fix