http://code.google.com/p/android/issues/detail?id=2366
-- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Aug 11, 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. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

