I have a ListView with OnScrollListener and OnItemClickListener . When I click on an element, both the onScroll() method in OnScrollListener and OnItemClickListener .
Is there a way to prevent this behavior? If not, how can I say inside onScroll() if the user really scrolls or just clicks?
source share