title: How to detect when FMX List View is scrolled to the bottom?
body: <p>I'm working on a Firemonkey <code>TListView</code> to display search results. This list loads 25 items at a time, but could potentially show hundreds of items.</p>
  
  <p>I need to detect when the user has scrolled down to the bottom, so that I can fetch the next 25 items to show in the list. However, I cannot find the appropriate properties to determine this.</p>
  
  <p>There's the <code>OnPullRefresh</code> event, but that applies to scrolling to the top of the list and pulling it down. What I need is similar, but for the <em>bottom</em> of the list instead of the <em>top</em>. </p>
  
  <p>There's the <code>OnScrollViewChange</code> event, which seems appropriate. There's also the <code>ScrollViewPos</code> property, which is also useful. However, I cannot figure out what to compare that number to - specifically, the maximum possible value for <code>ScrollViewPos</code>. Something like <code>ScrollViewMax</code> is what I would need.</p>
  
  <p>But I cannot find anything more to accurately detect that user has scrolled to the bottom.</p>
  
  <p>How can I detect when a user has scrolled to the bottom of a Firemonkey <code>TListView</code> so that I can load more search results? </p>
  
  <p><strong>EDIT</strong></p>
  
  <p>If this is not possible for whatever reason, there is an alternative to add a dummy item to the end of the list with a "Load More..." button. But I'd rather it be automated. </p>
  
  <p><strong>EDIT2</strong></p>
  
  <p>I forgot to mention... I have the Search Box showing in this list view, and items can have a variable height. If calculating this based on item contents is the only way, then such a calculation needs to be <em>perfect</em>. I don't want to know when user is "approaching" or "near" the bottom, but when user exactly hits the bottom of the list. </p>