Skip to content

Releases: dokar3/LazyRecycler

v0.4.0

16 Sep 12:39
Compare
Choose a tag to compare

What's Changed

  • Add support for Paging 3
  • Add diffCallback {} DSL to create a DiffUtil.ItemCallback
  • Rename the parameter differ of the items() to diffCallback and change the type to DiffUtil.ItemCallback.
    A quick migration:
    + import com.dokar.lazyrecycler.differCallback
    
    items(
    -    differ = {
    +    diffCallback = diffCallback {
              areItemsTheSame { oldItem, newItem -> oldItem.id == newItem.id }
              areContentsTheSame { oldItem, newItem -> oldItem == newItem }
         }
    ) { ... }
  • Bump Kotlin to 1.9.10, recyclerview to 1.3.1, bump other dependencies

v0.3.3

06 Jul 10:19
6125c91
Compare
Choose a tag to compare
  • Bump Kotlin to 1.7.0
  • Bump other dependencies

v0.3.2

20 May 01:00
50fbddc
Compare
Choose a tag to compare
  • Bump Kotlin to 1.6.21

v0.3.1

18 Mar 23:31
Compare
Choose a tag to compare
  • Rename argument spans to span.

v0.3.0

18 Mar 09:44
Compare
Choose a tag to compare
  • API change: Remove SectionConfig, item/items functions now accept configs directly.
  • API change: Rename asMutSource() to toMutableValue().
  • Update dependencies.

v0.2.1

30 Oct 06:45
Compare
Choose a tag to compare
  • Fix section config not working on template item/items

v0.2.0

09 Oct 02:30
3aa7824
Compare
Choose a tag to compare
  • Adjust item and items parameters
  • Add adapterCreator to lazyRecycler()'s parameter list
  • Add sticky header demo, using the sticky-layoutmanager library