chthai64 / SwipeRevealLayout

Easy, flexible and powerful Swipe Layout for Android
MIT License
1.58k stars 398 forks source link

OnItemLongClick method is not working in ListView #126

Open sagarsabhadiya opened 1 year ago

sagarsabhadiya commented 1 year ago

I have tried to match setOnClickListener and setOnLongClickListener with my adapter class to main fragment through listener. As, I'll perform an action for a long click then onClick event is called default. Because, i have set the return value to "false" to perform listener event in my main Fragment. If I'll set return as "true" in longClick event then listener is not performed.

How can i solve this problem?

shahzeb-whizpool commented 1 year ago

Apply the click listener on main child for now.