do not animate the views at updating the folder children count
This commit is contained in:
parent
f4388d7d8b
commit
d395aab484
|
@ -723,7 +723,7 @@ class ItemsAdapter(activity: SimpleActivity, var listItems: MutableList<ListItem
|
|||
val position = getItemKeyPosition(path.hashCode())
|
||||
val item = listItems.getOrNull(position) ?: return
|
||||
item.children = count
|
||||
notifyItemChanged(position)
|
||||
notifyItemChanged(position, Unit)
|
||||
}
|
||||
|
||||
fun isASectionTitle(position: Int) = listItems.getOrNull(position)?.isSectionTitle ?: false
|
||||
|
|
Loading…
Reference in New Issue