Im looking for an event that I can use on the scrollView to be fired when the user has scrolled to the bottom.
E.g my list of items should be extended with more item
Don't try SetOnScrollChangeListener if you are working with android API below 21 (android M), you can try this :
yourScrollView.getViewTreeObserver().addOnScrollChangedListener(new ViewTreeObserver.OnScrollChangedListener() {
@Override
public void onScrollChanged() {
int rootHeight = yourScrollView.getHeight();
int childHeight = yourScrollView.getChildAt(0).getHeight();
int scrollY = yourScrollView.getScrollY();
if(childHeight - rootHeight == scrollY)
Log.d("Hei","You Have Reach The End!");
}
});