luizgrp / SectionedRecyclerViewAdapter

An Adapter that allows a RecyclerView to be split into Sections with headers and/or footers. Each Section can have its state controlled individually.
MIT License
1.68k stars 372 forks source link

how to add click effect when i click on item on a section? #63

Closed ahmedsaber00 closed 7 years ago

ahmedsaber00 commented 7 years ago

when i click on an item , it fire the click listener correctly but i need effect on the item also how can i do this ?

luizgrp commented 7 years ago

Hi, what have you tried so far and where did you get stuck?

evatheodoridoubjss commented 7 years ago

Hi, I have a similar problem.

I have used your sectionedrecyclerviewadapter with multiple cardviews inside that are being populated from a database.

I have tried implementing my own RecyclerView.OnItemTouchListener and overriding the onInterceptTouchEvent method, but that has no effect when I click on an item.

Do you provide an implementation for it or have any suggestions for how to implement it?