Example usage for Java android.widget AbsListView fields, constructors, methods, implement or subclass
The text is from its open source code.
int | TRANSCRIPT_MODE_NORMAL The list will automatically scroll to the bottom when a data set change notification is received and only if the last item is already visible on screen. |
int | TRANSCRIPT_MODE_ALWAYS_SCROLL The list will automatically scroll to the bottom, no matter what items are currently visible. |
int | CHOICE_MODE_NONE Normal list that does not indicate choices |
int | CHOICE_MODE_SINGLE The list allows up to one choice |
int | CHOICE_MODE_MULTIPLE The list allows multiple choices |
int | CHOICE_MODE_MULTIPLE_MODAL The list allows multiple choices in a modal selection mode |
void | clearChoices() Clear any choices previously set |
boolean | equals(Object obj) Indicates whether some other object is "equal to" this one. |
void | fling(int velocityY) Initiate a fling with the given velocity. |
SparseBooleanArray | getCheckedItemPositions() Returns the set of checked items in the list. |
int | getChoiceMode() |
boolean | isFastScrollEnabled() Returns true if the fast scroller is enabled. |
boolean | isItemChecked(int position) Returns the checked state of the specified position. |
void | requestDisallowInterceptTouchEvent(boolean disallowIntercept) |
void | setAdapter(ListAdapter adapter) |
void | setCacheColorHint(@ColorInt int color) When set to a non-zero value, the cache color hint indicates that this list is always drawn on top of a solid, single-color, opaque background. |
void | setChoiceMode(int choiceMode) Defines the choice behavior for the List. |
void | setDrawSelectorOnTop(boolean onTop) Controls whether the selection highlight drawable should be drawn on top of the item or behind it. |
void | setFastScrollEnabled(final boolean enabled) Specifies whether fast scrolling is enabled or disabled. |
void | setItemChecked(int position, boolean value) Sets the checked state of the specified position. |
void | setMultiChoiceModeListener(MultiChoiceModeListener listener) Set a MultiChoiceModeListener that will manage the lifecycle of the selection ActionMode . |
void | setOnScrollListener(OnScrollListener l) Set the listener that will receive notifications every time the list scrolls. |
void | setRecyclerListener(RecyclerListener listener) Sets the recycler listener to be notified whenever a View is set aside in the recycler for later reuse. |
void | setScrollingCacheEnabled(boolean enabled) Enables or disables the children's drawing cache during a scroll. |
void | smoothScrollBy(int distance, int duration) Smoothly scroll by distance pixels over duration milliseconds. |