Use trackball for scrolling in Android ListView

  • hi,



    i have a ListView, whose content should not be selectable.
    i set the ListView to choiceMode="none" and set a transparent
    listSelector.



    for touch mode it acts as desired. a problem is the use of the
    trackball. if i try to use it for scrolling, the scroll starts after the
    10th push to "down". this is caused by the invisible listSelector,
    which scrolls down the list until the 10th list item is "invisibily"
    selected.



    i try to override dispatchTrackballEvent and do the scrolling with
    scrollBy, but i did not finished this approach yet, to have a look on
    alternative suggestions.



    is there a simple solution for my problem?

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!