Tuesday, April 26, 2011

Re: [android-developers] Re: Fwd: List onItemSelectedListener not working

On Tue, Apr 26, 2011 at 5:12 AM, Varun Tewari <varuntewari2010@gmail.com> wrote:
> setItemChecked() actually did'nt work with in case of
> onItemSelectedListener.
>
> Do we have some cleaner way, means through xml selector or using
> setActivated() for Android 3.0, with screwing getView of List Adapter.

Here are some sample projects showing the "activated" feature in use:

https://github.com/commonsguy/cw-android/tree/master/Fragments/EU4You_6
https://github.com/commonsguy/cw-advandroid/tree/master/Honeycomb/FeedFragments

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

--
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
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment