Skip to content

Commit

Permalink
#1155 - Fix search not being cleared after contact is selected
Browse files Browse the repository at this point in the history
  • Loading branch information
moezbhatti committed May 27, 2018
1 parent 7ab6088 commit e717e6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions presentation/src/main/java/common/base/QkAdapter.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
Expand Down

0 comments on commit e717e6e

Please sign in to comment.