>> I'd like to create my ListView and make it's Views be changed while
>> selected (or, clicked). How could I do it?
>
> Detect clicks or selections, and change the appropriate row View.
>
> Could you be more specific in terms of where you need assistance?

At the risk of replying to myself, let me provide a bit more to go on.

ListView supports setOnItemClickListener() and setOnItemSelectListener(),
so you can find out what rows are clicked or selected.

In the case of selected rows, your listener can simply call
getSelectedView() on ListView to get your row View, which you can then
modify.

In the case of a clicked-upon row, it looks to be a bit more difficult. I
cannot seem to find a clearly good way to get the row associated with a
position.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to