title: Kindly provide the source code to determine the last item in the ListView
body: <p>I am trying to implementing pagination in Android.
  Currently I am displaying in ListView  , a list of 10 items where the data for the list items exist in the database.</p>
  
  <p>Each list item contains an thumbnail Image Url , a text data</p>
  
  <p>I have the following requirement.
  i> When the user scrolls  to the 10 th list item , I am calling a webservice method of the server to fetch the next set of records.</p>
  
  <p>My question is how can I determine when the user scrolls to the 10 th list item , what kind of validation can I make.</p>
  
  <p>Kindly provide me the sample source code.</p>
  
  <p>Warm Regards,</p>
  
  <p>CB</p>