small touchlistener update

This commit is contained in:
tibbi 2016-11-20 22:54:21 +01:00
parent 205a6d26d5
commit 9ea00c32f2

View File

@ -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) {