BlackBerry. How to define direction of Scroll or Focus change?

Posted by Lyubomyr Dutko on Stack Overflow See other posts from Stack Overflow or by Lyubomyr Dutko
Published on 2010-04-24T18:16:50Z Indexed on 2010/04/24 18:23 UTC
Read the original article Hit count: 201

Filed under:

Hi,

does BlackBerry has any possibility to track focus or scroll change direction?

I will describe a case. On UI we have a list and some horizontal tab bar (tab bar at top and below the list actually). If User is somewhere in the middle of a list and decides to click another tab, it appears a little difficult to put focus on the Tab control, so User scrolls to the first list item and after changes focus to tab (as a result very long operation).

The point here How to catch event of horizontal scroll to change currently focused tab? And after if you scroll (by trackball) vertically you go back to list.

Possibly you can advice with the right approach how to resolve such issues?

Thanks Lyubomyr

© Stack Overflow or respective owner

Related posts about blackberry