Closed KarimFikani closed 7 years ago
@KarimFikani I didn't notice this problem by using current lib. Do you still face the same problem?
Sorry for the late reply but yes I still do face the same problem.
Could you please paste the code of your MenuExtrasViewHolder
?
class MenuExtrasViewHolder extends MenuItemViewHolder {
public MenuExtrasViewHolder(View view) {
super(view);
}
}
I'm not sure if anyone has faced this issue before but the problem that I'm facing is the following: I have a menu fragment that slides in from the left when a menu buttons is tapped. Inside that menu fragment I have a recyclerview and I feed it as an adapter SectionRecyclerViewAdapter. Everything works fine but when I scroll to see the not visible items and click on one of the new items, I end up clicking twice to select it. I can reproduce 100% of the time. I realized that it was always the items that become visible are the ones that I have to click twice and it might be related to the adapter.
Here is what I'm doing in my viewholder:
The log would only show onClick once when the second tap happens. How can I solve this as it is very annoying.