do not allow long pressing Event List view section labels
This commit is contained in:
parent
0b198a3c3a
commit
6a226de151
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ class EventListAdapter(activity: SimpleActivity, var listItems: ArrayList<ListIt
|
|||
|
||||
override fun onBindViewHolder(holder: MyRecyclerViewAdapter.ViewHolder, position: Int) {
|
||||
val listItem = listItems[position]
|
||||
holder.bindView(listItem, true, allowLongClick) { itemView, layoutPosition ->
|
||||
holder.bindView(listItem, true, allowLongClick && listItem is ListEvent) { itemView, layoutPosition ->
|
||||
if (listItem is ListSection) {
|
||||
setupListSection(itemView, listItem, position)
|
||||
} else if (listItem is ListEvent) {
|
||||
|
|
Loading…
Reference in a new issue