Listview.setTextFilterEnabled(boolean):
Enables or disables the type filter window. If enabled, typing when this view has focus will filter the children to match the users input. Note that the Adapter
used by this view must implement the Filterable
interface.
ListView.setItemsCanFocus(boolean):
Indicates that the views created by the ListAdapter can contain focusable items.
ListView.setChoiceMode (int choiceMode):
Defines the choice behavior for the List. By default, Lists do not have any choice behavior (CHOICE_MODE_NONE
). By setting the choiceMode to CHOICE_MODE_SINGLE
, the List allows up to one item to be in a chosen state. By setting the choiceMode to CHOICE_MODE_MULTIPLE
, the list allows any number of items to be chosen.
ListView.setTranscriptMode (int mode):
Puts the list or grid into transcript mode. In this mode the list or grid will always scroll to the bottom to show new items.
TRANSCRIPT_MODE_DISABLED
TRANSCRIPT_MODE_NORMAL
TRANSCRIPT_MODE_ALWAYS_SCROLL