🚀 An easy-to-use, extensible Kotlin DSL for setting up and manipulating RecyclerViews.
withLayoutAnimation(...)
for the setup {}
block. See the README.addChangedListener(...)
to DataSource<T>
.dataSourceOf(...)
with multiple items of different types.DataSource#set(...)
's diffing comparators now use the type of items that the data source contains, rather than Any
(unless of course your data source contains Any
type of item).withItem
requires that you specify the ViewHolder
type as a generic parameter.getSelectedItems(): List<IT>
method to SelectableDataSource
.onRecycled {}
method to ItemDefinition
.withItem
can take a custom class name string to support generated model classes, see #11.withSwipeActionOn<>
method to the swipe plugin to target specific item types, see #12.withItem
requires that you specify the ViewHolder
type as a generic parameter.getSelectedItems(): List<IT>
method to SelectableDataSource
.onRecycled {}
method to ItemDefinition
.withItem
can take a custom class name string to support generated model classes, see #11.withSwipeActionOn<>
method to the swipe plugin to target specific item types, see #12.withItem
can take a custom class name string to support generated model classes, see #11.withSwipeActionOn<>
method to the swipe plugin to target specific item types, see #12.