mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-01-29 09:49:24 +01:00
small touchlistener update
This commit is contained in:
parent
205a6d26d5
commit
9ea00c32f2
@ -80,7 +80,7 @@ class ItemsFragment : android.support.v4.app.Fragment(), ItemsAdapter.ItemOperat
|
|||||||
}
|
}
|
||||||
items_list.adapter = adapter
|
items_list.adapter = adapter
|
||||||
items_list.addItemDecoration(RecyclerViewDivider(context))
|
items_list.addItemDecoration(RecyclerViewDivider(context))
|
||||||
items_list.setOnTouchListener { view, motionEvent -> checkDelete(); true }
|
items_list.setOnTouchListener { view, motionEvent -> checkDelete(); false }
|
||||||
}
|
}
|
||||||
|
|
||||||
fun setListener(listener: ItemInteractionListener) {
|
fun setListener(listener: ItemInteractionListener) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user