title: Android Firebase Query StartAt()
body: <p>I am using a query in my android app and having some trouble. My database will eventually have hundreds or thousands of poll objects. I would like to get about 20 at a time and once I am done with those 20 I would get the next 20. I can get the first 20 easily but when I try to use <code>startAt()</code> the query just doesn't get anything.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>pollQuery = rootRef.child(getString(R.string.poll_ref)).startAt(lastPollFromQuery).orderByChild(getString(R.string.timestamp_ref)).limitToFirst(numPollsToLoad);
  </code></pre>
  
  <p>I have tried using an <code>Integer position</code> for <code>lastPollFromQuery</code> and am currently using a <code>String</code> (the key of a poll object). I have also shuffled around the <code>startAt()</code> and <code>orderByChild()</code> but that didn't do much.</p>
  
  <p>What am I doing wrong?</p>