forked from upstream-mirrors/quik
Fix item animations when changing data in FlowableAdapter
This commit is contained in:
@@ -20,9 +20,6 @@ abstract class FlowableAdapter<T> : QkAdapter<T>() {
|
|||||||
// Stop listening for updates on the old flowable
|
// Stop listening for updates on the old flowable
|
||||||
dispose()
|
dispose()
|
||||||
|
|
||||||
// Wipe the data
|
|
||||||
data = ArrayList()
|
|
||||||
|
|
||||||
// If we're attached to any RecyclerViews, then subscribe to updates
|
// If we're attached to any RecyclerViews, then subscribe to updates
|
||||||
if (recyclerViews.isNotEmpty()) {
|
if (recyclerViews.isNotEmpty()) {
|
||||||
subscribe()
|
subscribe()
|
||||||
|
|||||||
Reference in New Issue
Block a user