public interface Selectable
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clearSelection()
Clear the selection status for all items
|
int |
getSelectedItemCount()
Count the selected items
|
List<Image> |
getSelectedPhotos()
Indicates the list of selected photos
|
boolean |
isSelected(Image image)
Indicates if the item at position position is selected
|
void |
toggleSelection(Image image)
Toggle the selection status of the item at a given position
|
boolean isSelected(Image image)
image - Photo of the item to checkvoid toggleSelection(Image image)
image - Photo of the item to toggle the selection status forvoid clearSelection()
int getSelectedItemCount()