avoid clicking on section headers

This commit is contained in:
tibbi 2016-10-23 18:28:10 +02:00
parent 2c514bc627
commit 53550a6471
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ class EventsListAdapter(context: Context, private val mEvents: List<ListItem>) :
view = mInflater.inflate(R.layout.event_list_item, parent, false)
} else {
view = mInflater.inflate(R.layout.event_list_section, parent, false)
view.setOnClickListener(null)
}
viewHolder = ViewHolder(view)
view!!.tag = viewHolder