I am using smoothScrollBy()
to scroll to a specific position in a ListView
. I would like to be notified when the ListView
is done scrolling to integrate it with the current onScrollStateChanged()
event that is fired off when the user scrolls with their finger.
Currently I'm using a Timer
that runs 100ms after the duration of the smooth scroll, but that is not as event driven as I would prefer.
smoothScroll*
functions won't trigger the scrolling state changes, and therefore render theOnScrollListener.onScrollStateChanged()
callbacks useless.