Skip to content Skip to sidebar Skip to footer

Doinbackground() In Async Task Not Working Properly

I am fetching some data from API and presenting each item as a RecyclerViewPager slide. So, I have made an async task inside onScrollListener to check scroll actions and when the u

Solution 1:

I guess you should cancel task manually before making another request, as one task can only be executed once according to rules given in the documentation

See Last Rule

To Cancel A Task

Post a Comment for "Doinbackground() In Async Task Not Working Properly"