Skip to content

Releases: jamal-wia/Paginator

3.3.0

22 Jul 22:28
Compare
Choose a tag to compare

"Paginator":

  • added functions requireResnapshot and resnapshot

3.2.1

11 Jul 17:05
Compare
Choose a tag to compare

"Paginator":

  • updated logic fun resnapshot()
  • updated fun equals() for PageState

3.2.0

09 Jul 12:33
Compare
Choose a tag to compare

"Paginator":

  • added kDoc
  • added fun replaceAll
  • fixed EmptyPage's constructor
  • fixed work fun asFlow()

3.1.0

30 Jun 10:45
Compare
Choose a tag to compare

"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

18 Jun 15:41
Compare
Choose a tag to compare

"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

11 Jun 09:01
Compare
Choose a tag to compare

"Paginator":

  • added logic ignore capacity
  • removed useless methods "toList()"
  • changed logic work method "isValidSuccessState"

2.5.1

22 May 13:30
Compare
Choose a tag to compare

Some fix

2.5.0

22 May 13:19
Compare
Choose a tag to compare

"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

2.4.2

25 Apr 12:57
Compare
Choose a tag to compare

"Paginator" - fix logic determining NextPage and PreviousPage when calling goNextPage and goPreviousPage

2.4.1

23 Apr 14:46
Compare
Choose a tag to compare

Some Fix