 <p>You just need to add onScrollListener onto your View. Preferably Use ListView to show data</p> <p>From the following code your can get the index of the current view.</p> <p>ListView.OnScrollListener is the interface that you need to implement and give body to<br> following two methods.</p> <p>listView.setOnScrollListener(new ListView.OnScrollListener(){</p> <p>public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) { }</p> <pre><code> public void onScrollStateChanged(AbsListView view, int scrollState) { switch (scrollState) { case OnScrollListener.SCROLL_STATE_IDLE: mBusy = false; int first = view.getFirstVisiblePosition(); int count = view.getChildCount(); break; case OnScrollListener.SCROLL_STATE_TOUCH_SCROLL: break; case OnScrollListener.SCROLL_STATE_FLING: break; } } </code></pre> <p>});</p> <p>Try Printing the value of first and count variable it will solve your problem.Hopefully :)</p>