title: Error setSelectionFromTop() requires API level 21 (current min. is 10)
body: <p>I'm getting an error after using this 
  <a href="https://stackoverflow.com/a/8276140/5162360">StackOverflow answer</a>: </p>
  
  <blockquote>
    <p><code>setSelectionFromTop()</code> requires API level 21 (current min. is 10)</p>
  </blockquote>
  
  <p>and When I checked android API, it was added in API Level 1. How can I solve it?</p>