Xigong93/ExpandableRecyclerView

How we can disable tap on specific group?

McManusdh opened this issue · 1 comments

I mean there could be a group which need to be open all the time

I think below code snip will help you.

override fun onBindGroupViewHolder(holder...payloads){
     // Override default group item onclick event.
     if(payloads.isEmpty(){
         holder.itemView.setOnClickListener {}
     }
}