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

Reply via email to