Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Here a few pointers : <a href="https://stackoverflow.com/questions/5836677/simulate-onfling-programmatically-instead-of-detecting-it-android">Simulate onFling() programmatically instead of detecting it (Android)</a> </p> <p>and <a href="https://stackoverflow.com/questions/1214956/programmatically-fling-listview-android">Programmatically Fling ListView Android</a></p> <p>It's hard to figure out what you call smooth enough in your case. Usually smoothness problems are related to a non optimal usage of listviews and troubles in either cell layouts or view creation / recycling inside the getView method of adapters. </p> <p>Do you <a href="http://developer.android.com/training/improving-layouts/smooth-scrolling.html" rel="nofollow noreferrer">use a placeholder</a> ? An important thing to consider is also <a href="http://developer.android.com/training/displaying-bitmaps/display-bitmap.html" rel="nofollow noreferrer">Drawables usage</a>.</p> <p>I never achieved what you are looking for, but a simple idea that comes to mind is : </p> <ul> <li>find a way to scroll the view of 1 position or 2.</li> <li>use a ring buffer inside your adapter. For instance let's say you got 100 items in your list of items. Then at the beginning, item 0 of the listview is item 0 of your list. When listview is scrolled up of 1 item, then item 0 of listview should become item 1 in your list. Thus the problem would not be scrolling but more syncing with scrolling and displaying an endless list of items.</li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload