possible fix to #883

This commit is contained in:
Mariotaku Lee 2017-07-16 14:09:46 +08:00
parent e55a153b5d
commit 4812e1bfe4
No known key found for this signature in database
GPG Key ID: 15C10F89D7C33535
2 changed files with 2 additions and 1 deletions

View File

@ -176,7 +176,7 @@ class ParcelableActivitiesAdapter(
filteredUserKeys = data.filteredUserIds
}
this.data = data
infoCache = if (data != null) arrayOfNulls(data.size) else null
this.infoCache = if (data != null) arrayOfNulls(data.size) else null
gapLoadingIds.clear()
updateItemCount()
notifyDataSetChanged()

View File

@ -190,6 +190,7 @@ abstract class ParcelableStatusesAdapter(
changed = this.data != data
}
this.data = data
this.infoCache = if (data != null) arrayOfNulls(data.size) else null
gapLoadingIds.clear()
updateItemCount()
notifyDataSetChanged()