measure side fastscroller if items change
This commit is contained in:
parent
28dd320b9e
commit
98ea4ac020
2 changed files with 2 additions and 0 deletions
|
|
@ -125,6 +125,7 @@ class ContactsAdapter(activity: SimpleActivity, var contactItems: ArrayList<Cont
|
||||||
textToHighlight = highlightText
|
textToHighlight = highlightText
|
||||||
notifyDataSetChanged()
|
notifyDataSetChanged()
|
||||||
}
|
}
|
||||||
|
fastScroller?.measureRecyclerView()
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun editContact() {
|
private fun editContact() {
|
||||||
|
|
|
||||||
|
|
@ -77,6 +77,7 @@ class GroupsAdapter(activity: SimpleActivity, var groups: ArrayList<Group>, val
|
||||||
groups = newItems
|
groups = newItems
|
||||||
notifyDataSetChanged()
|
notifyDataSetChanged()
|
||||||
finishActMode()
|
finishActMode()
|
||||||
|
fastScroller?.measureRecyclerView()
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun editGroup() {
|
private fun editGroup() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue