I believe we fixed all these issues in Donut. On Tue, Aug 11, 2009 at 7:01 AM, Zhiguo Ge<[email protected]> wrote: > I found some issues about the Android SDK documentation of the methods in > package android.widget.ListView. > The sentenses after number 1, 2, and 3 are the original descriptions while > the sentenses after modified are the modified ones after I reviewed the > code of Android. > > The original description can be found in the link: > http://developer.android.com/reference/android/widget/ListView.html > > 1. public int getCheckedItemPosition () > Returns the currently checked item. The result is only valid if the choice > mode has NOT been set to CHOICE_MODE_SINGLE. > Modified: public int getCheckedItemPosition () > Returns the currently checked item. The result is only valid if the choice > mode has been set to CHOICE_MODE_SINGLE. > 2. public SparseBooleanArray getCheckedItemPositions () > Returns the set of checked items in the list. The result is only valid if > the choice mode has not been set to CHOICE_MODE_SINGLE. > Modified: public SparseBooleanArray getCheckedItemPositions () > Returns the set of checked items in the list. The result is only valid if > the choice mode has not been set to CHOICE_MODE_NONE. > > 3. public boolean isItemChecked (int position) > Returns the checked state of the specified position. The result is only > valid if the choice mode has not been set to CHOICE_MODE_SINGLE or > CHOICE_MODE_MULTIPLE. > Modified: public boolean isItemChecked (int position) > Returns the checked state of the specified position. The result is only > valid if the choice mode has not been set to CHOICE_MODE_NONE. > > > > > > > >
-- Romain Guy Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

