title: Android app Listview cannot be scrolled to bottom to search a specific element using appium in java
body: <p>Can someone please help me with this.</p>
  
  <p>I am facing an issue - Android app Listview cannot be scrolled to bottom to search a specific element using appium in java</p>
  
  <ol>
  <li><p>code used is :</p>
  
  <pre><code>     HashMap&lt;String, String&gt; scrollObject = new HashMap&lt;String, String&gt;();
  
      RemoteWebElement element = (RemoteWebElement)driver.findElementById(fullListContainer);
  
      JavascriptExecutor js = (JavascriptExecutor) driver;
      String widId = ((RemoteWebElement) element).getId();
  
      scrollObject.put("text", tvProvidername);
      scrollObject.put("element", widId);
  
      js.executeScript("mobile: scrollTo", scrollObject);
  
      seleniumFunctions.click(driver, By.name(tvProvidername));
  </code></pre></li>
  </ol>
  
  <p>//element is the Listview</p>
  
  <p>//tvProvidername is the text to be searched while scrolling the Listview </p>
  
  <ol start="2">
  <li>Issue Description: The native android app has Listview with more than 280 elements, and the code line 'js.executeScript("mobile: scrollTo", scrollObject);' just gets executed till 100 elements, it does not scroll to more than 100th element in the app as a result when an element after 100th element is searched, script fails.</li>
  </ol>
  
  <p>Thanks,
  NRM</p>