mirror of
https://github.com/SimpleMobileTools/Simple-App-Launcher.git
synced 2025-06-05 21:49:21 +02:00
dont bother remembering selected items on rotation
This commit is contained in:
@ -49,14 +49,6 @@ class RecyclerAdapter(val act: Activity, val launchers: List<AppLauncher>, val i
|
||||
}
|
||||
}
|
||||
|
||||
override fun onAttachedToRecyclerView(recyclerView: RecyclerView?) {
|
||||
super.onAttachedToRecyclerView(recyclerView)
|
||||
if (multiSelector.isSelectable) {
|
||||
deleteMode.setClearOnPrepare(false)
|
||||
(act as AppCompatActivity).startSupportActionMode(deleteMode)
|
||||
}
|
||||
}
|
||||
|
||||
override fun onBindViewHolder(holder: ViewHolder, position: Int) {
|
||||
holder.bindView(act, deleteMode, multiSelector, launchers[position])
|
||||
}
|
||||
|
Reference in New Issue
Block a user