mirror of
https://github.com/SimpleMobileTools/Simple-App-Launcher.git
synced 2025-05-30 02:19:28 +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() {
|
||||
invalidateOptionsMenu()
|
||||
launchers_grid.adapter?.notifyDataSetChanged()
|
||||
getGridAdapter()?.launchers?.apply {
|
||||
calculateContentHeight(this)
|
||||
getGridAdapter()?.apply {
|
||||
notifyItemRangeChanged(0, launchers.size)
|
||||
calculateContentHeight(launchers)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user