We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
notifyDataSetChanged()
submitList()
1 parent 9e08457 commit 83ea634Copy full SHA for 83ea634
app/src/main/kotlin/org/fossify/phone/adapters/RecentCallsAdapter.kt
@@ -314,8 +314,11 @@ class RecentCallsAdapter(
314
fun updateItems(newItems: List<CallLogItem>, highlightText: String = "") {
315
if (textToHighlight != highlightText) {
316
textToHighlight = highlightText
317
- submitList(newItems)
318
- notifyDataSetChanged()
+ submitList(newItems) {
+ recyclerView.post {
319
+ notifyDataSetChanged()
320
+ }
321
322
finishActMode()
323
} else {
324
submitList(newItems)
0 commit comments