On Fri, Aug 27, 2010 at 5:52 AM, optimusgeek <[email protected]> wrote:
> When I have a list view and there are 3 items which can choose by
> user, I wanna show only choosable items to user because of some
> reason. but I could not find any method in ListView or ArrayAdapter
> class. Is there a solution?

Implement areAllItemsEnabled() and isEnabled() as you see fit in a
subclass of ArrayAdapter.

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

_The Busy Coder's Guide to Android Development_ Version 3.1 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