title: how to scroll a listview in android using appium?
body: <p>I used the following statement to scroll .</p>
  
  <pre><code>  @driver.scroll_to_exact('Text').click
  </code></pre>
  
  <p>I got the following error  </p>
  
  <p><code>Selenium::WebDriver::Error::WebDriverError:unexpected response, code=404, content-type="text/plain"That URL did not map to a valid JSONWP resource</code></p>
  
  <p>I tried using the following statement</p>
  
  <pre><code>     b=find_element(:id,'com.dddd.main:id/calenderListView')
       @driver.execute_script 'mobile: scrollTo', :element =&gt; b.ref`
  </code></pre>
  
  <p>I was able to scroll till the end of the list view .But got the following error after scrolling to end of listview </p>
  
  <pre><code>  Failure/Error: @driver.execute_script 'mobile: scrollTo', :element =&gt; b.ref
   Selenium::WebDriver::Error::UnknownError:
     Could not scroll element into view: null
   # ./test.rb:68:in `block (2 levels) in &lt;top (required)&gt;'
  </code></pre>