destroy multiselector mode after deleting an event type
This commit is contained in:
parent
230b02437d
commit
30c82c6dc7
|
@ -93,6 +93,7 @@ class EventTypeAdapter(val activity: SimpleActivity, val mItems: List<EventType>
|
||||||
|
|
||||||
private fun deleteEventTypes(deleteEvents: Boolean, ids: ArrayList<Int>) {
|
private fun deleteEventTypes(deleteEvents: Boolean, ids: ArrayList<Int>) {
|
||||||
listener?.deleteEventTypes(ids, deleteEvents)
|
listener?.deleteEventTypes(ids, deleteEvents)
|
||||||
|
actMode?.finish()
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onCreateViewHolder(parent: ViewGroup?, viewType: Int): ViewHolder {
|
override fun onCreateViewHolder(parent: ViewGroup?, viewType: Int): ViewHolder {
|
||||||
|
|
Loading…
Reference in New Issue