ListView setting focus

Put your problem here if it does not fit any of the other categories.

ListView setting focus

Postby AndreS » Wed Aug 12, 2009 4:29 pm

Hi,

I am using ListView to display list of Items.
When loading screen focus is not on list, on clicking D-pad down key focus
is coming to first element of list. I want focus on first element on list when screen is launched.
How this can be done?
AndreS
Junior Developer
Junior Developer
 
Posts: 15
Joined: Tue Jul 21, 2009 11:28 am

Top

Postby arams » Thu Aug 13, 2009 6:17 am

use this: :arrow: listview.requestFocus();
arams
Experienced Developer
Experienced Developer
 
Posts: 89
Joined: Fri May 08, 2009 7:45 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: W3C [Validator] and 16 guests