title: Android Scrollview : How to detect begin and end of scrollview
body: <p>Here is my layout XML. I am adding more rows in a table dynamically. </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
              xmlns:myapp="http://schemas.android.com/apk/res/com.tweets"
              android:id="@+id/screen"
              android:layout_width="fill_parent"
              android:layout_height="fill_parent"
              android:orientation="vertical"
              android:background="#FFFFFF"&gt;
  
      &lt;TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
                   android:layout_width="fill_parent"
                   android:layout_height="fill_parent"
                   android:id="@+id/main"
                   android:background="#FFFFFF"&gt;
  
          &lt;TableRow android:id="@+id/TableRow01"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"&gt;
  
              &lt;TextView android:id="@+id/TLocView01"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:textSize="15px"
                        android:textStyle="bold"
                        android:textColor="#000000"
                        android:text="FatWallet Tweets:"&gt;
              &lt;/TextView&gt;
  
          &lt;/TableRow&gt;
     &lt;/TableLayout&gt;
  &lt;/ScrollView&gt;
  </code></pre>
  
  <p>I want to implement paging with scrollview. If user tries to scroll backward or forward then i want to make previous page and next page requests.  How to do that? Any hint will be appreciated. Thanks. </p>