[android-developers] Re: Having trouble getting ListView to show selected item as highlighted

2009-01-01 Thread Romain Guy
> but it would be nice to leave this up to the developer. There is one excellent reason to not leave this up to the developer: consistency. As a user, how would you like if one application would select on touch, and a coupe of others would not? It would totally break anything you learn and you wo

[android-developers] Re: Having trouble getting ListView to show selected item as highlighted

2009-01-01 Thread brnzn
Hey Timothy, I struggled with trying to match the Windows app behaviour too, but once you get the touch paradigm, it makes a lot of sense. In Windows apps you'll create a ListView control, populate it and let the user select a row or rows with the mouse. Based on the selection you'll let the us

[android-developers] Re: Having trouble getting ListView to show selected item as highlighted

2009-01-01 Thread Timothy DeWees
Thanks, I understand the reasoning behind the blog and I'm probably trying to get the app to behave to much like a Windows application, but it would be nice to leave this up to the developer. Thanks for the prompt response and I look forward to more Android releases! On Dec 27 2008, 5:03 am, Rom

[android-developers] Re: Having trouble getting ListView to show selected item as highlighted

2009-01-01 Thread GeorgeOfTheBush
How to get the position of an item that is focused in a listview by scrolling up or down using the up/down keys? Also, what is the difference between onClick and onItemSelected? i.e. when is each one called?? Thanks. On Dec 27, 3:03 pm, Romain Guy wrote: > In short: you don't, you can't, you

[android-developers] Re: Having trouble getting ListView to show selected item as highlighted

2008-12-27 Thread Romain Guy
In short: you don't, you can't, you won't :) Explanations here: http://android-developers.blogspot.com/2008/12/touch-mode.html On Fri, Dec 26, 2008 at 3:26 PM, Timothy DeWees wrote: > > Hello, > > I've seen a few post on this but have never seen or understood the > solution. I have an applicat