From a910cdb72e39381a582363a04045553b9446f20b Mon Sep 17 00:00:00 2001 From: Moez Bhatti Date: Sat, 16 Dec 2017 03:18:49 -0500 Subject: [PATCH] Fix item animations when changing data in FlowableAdapter --- .../com/moez/QKSMS/presentation/common/base/FlowableAdapter.kt | 3 --- 1 file changed, 3 deletions(-) diff --git a/qksms/src/main/java/com/moez/QKSMS/presentation/common/base/FlowableAdapter.kt b/qksms/src/main/java/com/moez/QKSMS/presentation/common/base/FlowableAdapter.kt index 4a03aa15..c41a2bbf 100644 --- a/qksms/src/main/java/com/moez/QKSMS/presentation/common/base/FlowableAdapter.kt +++ b/qksms/src/main/java/com/moez/QKSMS/presentation/common/base/FlowableAdapter.kt @@ -20,9 +20,6 @@ abstract class FlowableAdapter : QkAdapter() { // Stop listening for updates on the old flowable dispose() - // Wipe the data - data = ArrayList() - // If we're attached to any RecyclerViews, then subscribe to updates if (recyclerViews.isNotEmpty()) { subscribe()