It is a bug in the SDK 0.9 that we fixed since then. Sorry for the
inconvenience. The next version of the SDK will provide you with the
fix.

On Wed, Aug 27, 2008 at 8:30 AM, Guillaume Perrot
<[EMAIL PROTECTED]> wrote:
>
> I found that single choice demo doesn't work...
> I exepcted that the checkbox will change its graphical state when
> pressing it but nothing happen neither in multiple choice demo nor in
> single choice demo.
> Is this a bug ?
>
> On Aug 27, 5:20 pm, Guillaume Perrot <[EMAIL PROTECTED]> wrote:
>> I tested ApiDemos -> "11. Multiple Choice Lists" but clicking on an
>> item or pressing enter (or dpad_center) on an item does nothing....
>>
>> On Aug 26, 8:24 pm, "Romain Guy" <[EMAIL PROTECTED]> wrote:
>>
>> > Please refer to the ApiDemos, you will need to use a layout file for
>> > your list items that supports the checked state. The easiest thing to
>> > do is use the CheckedTextView for instance.
>>
>> > On Tue, Aug 26, 2008 at 11:21 AM, Megha Joshi <[EMAIL PROTECTED]> wrote:
>> > > You should use ListView.setItemChecked(pos,true) to check the last
>> > > clicked/touched item. ChoiceMode = multiple allows you to call
>> > > setItemChecked() for multiple list items...and choicemode = 
>> > > single...allows
>> > > you to do so for one item only.
>>
>> > > 2008/8/26 Mark Hansen <[EMAIL PROTECTED]>
>>
>> > >> I have a ListView and I'm trying to show the last selected item
>> > >> clicked/touched or navigated too, from what I can gather setting the
>> > >> choiceMode to "singleChoice" shoudl achieve this, but it doesn't
>> > >> appear to be doing anything...
>>
>> > >>        <ListView
>> > >>                android:id="@android:id/list"
>> > >>                android:layout_width="fill_parent"
>> > >>                android:layout_height="229px"
>> > >>                android:background="#000000"
>> > >>                android:layout_x="0px"
>> > >>                android:layout_y="203px"
>> > >>                android:choiceMode="singleChoice">
>> > >>        </ListView>
>>
>> > >> RE:http://code.google.com/android/reference/android/widget/ListView.html
>> > >> (XML attributes section)
>>
>> > >> Is this not implemented or am I making a mistake in how to achieve
>> > >> this?
>>
>> > --
>> > Romain Guywww.curious-creature.org
> >
>



-- 
Romain Guy
www.curious-creature.org

--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to