forked from upstream-mirrors/quik
#1155 - Fix search not being cleared after contact is selected
This commit is contained in:
@@ -38,6 +38,7 @@ abstract class QkAdapter<T> : RecyclerView.Adapter<QkViewHolder>() {
|
||||
val diff = DiffUtil.calculateDiff(getDiffUtilCallback(field, value))
|
||||
field = value
|
||||
diff.dispatchUpdatesTo(this)
|
||||
onDatasetChanged()
|
||||
|
||||
emptyView?.setVisible(value.isEmpty())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user