mirror of
https://github.com/SimpleMobileTools/Simple-App-Launcher.git
synced 2025-06-05 21:49:21 +02:00
animate column count changes
This commit is contained in:
parent
b98d9c0cd8
commit
12aca5d182
@ -180,9 +180,9 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
|
|||||||
|
|
||||||
private fun columnCountChanged() {
|
private fun columnCountChanged() {
|
||||||
invalidateOptionsMenu()
|
invalidateOptionsMenu()
|
||||||
launchers_grid.adapter?.notifyDataSetChanged()
|
getGridAdapter()?.apply {
|
||||||
getGridAdapter()?.launchers?.apply {
|
notifyItemRangeChanged(0, launchers.size)
|
||||||
calculateContentHeight(this)
|
calculateContentHeight(launchers)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user