On Wed, Jan 27, 2010 at 5:11 AM, Michael J McLean m...@mmc2.com.au wrote:
Mark,
Thank you for taking the time to reply. There are a lot of
restrictions placed on developers trying to provide a quality user
interface. I can live with this particular restriction but I would
How do you select an item in a listview by code
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
ListView.setSelected(int position)
On Tue, Jan 26, 2010 at 3:12 PM, MMC2 m...@mmc2.com.au wrote:
How do you select an item in a listview by code
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I tried you suggestion but got an error message.
So I tried
myListView.setSelection(1);
No error message but it doesn't work
- Original Message -
From: Martin Obreshkov
To: android-developers@googlegroups.com
Sent: Tuesday, January 26, 2010 11:15 PM
Subject: Re:
Michael J McLean wrote:
I tried you suggestion but got an error message.
So I tried
myListView.setSelection(1);
No error message but it doesn't work
Yes, it works.
When users use their touchscreens, there is no notion of selection,
only item clicks. Hence, in touch mode,
Thank you for that, but how can I show that the item has been selected?
- Original Message -
From: Mark Murphy mmur...@commonsware.com
To: android-developers@googlegroups.com
Sent: Tuesday, January 26, 2010 11:54 PM
Subject: Re: [android-developers] How to select an item in a listview
Michael J McLean wrote:
Thank you for that, but how can I show that the item has been selected?
You rethink your user interface to avoid the question. Do not use
ListView with a selection mindset. Think of ListView as being more
akin to a rolling roster of buttons, not something that has a
Mark,
Thank you for taking the time to reply. There are a lot of
restrictions placed on developers trying to provide a quality user
interface. I can live with this particular restriction but I would
appreciate help on one other issue. If I use the navigation buttons to
8 matches
Mail list logo