public class ListView extends android.widget.ListView implements IHoloActivity.OnWindowFocusChangeListener, ContextMenuBuilder.ContextMenuInfoGetter
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListView.MultiChoiceModeListener |
static class |
ListView.SavedState |
android.widget.ListView.FixedViewInfoandroid.widget.AbsListView.LayoutParams, android.widget.AbsListView.OnScrollListener, android.widget.AbsListView.RecyclerListener, android.widget.AbsListView.SelectionBoundsAdjusterandroid.widget.AdapterView.AdapterContextMenuInfo, android.widget.AdapterView.OnItemClickListener, android.widget.AdapterView.OnItemLongClickListener, android.widget.AdapterView.OnItemSelectedListenerandroid.view.ViewGroup.MarginLayoutParams, android.view.ViewGroup.OnHierarchyChangeListenerandroid.view.View.AccessibilityDelegate, android.view.View.BaseSavedState, android.view.View.DragShadowBuilder, android.view.View.MeasureSpec, android.view.View.OnAttachStateChangeListener, android.view.View.OnClickListener, android.view.View.OnCreateContextMenuListener, android.view.View.OnDragListener, android.view.View.OnFocusChangeListener, android.view.View.OnGenericMotionListener, android.view.View.OnHoverListener, android.view.View.OnKeyListener, android.view.View.OnLayoutChangeListener, android.view.View.OnLongClickListener, android.view.View.OnSystemUiVisibilityChangeListener, android.view.View.OnTouchListener| Modifier and Type | Field and Description |
|---|---|
static int |
CHOICE_MODE_MULTIPLE |
static int |
CHOICE_MODE_MULTIPLE_MODAL |
static int |
CHOICE_MODE_NONE |
static int |
CHOICE_MODE_SINGLE |
TRANSCRIPT_MODE_ALWAYS_SCROLL, TRANSCRIPT_MODE_DISABLED, TRANSCRIPT_MODE_NORMALINVALID_POSITION, INVALID_ROW_ID, ITEM_VIEW_TYPE_HEADER_OR_FOOTER, ITEM_VIEW_TYPE_IGNORECLIP_TO_PADDING_MASK, FOCUS_AFTER_DESCENDANTS, FOCUS_BEFORE_DESCENDANTS, FOCUS_BLOCK_DESCENDANTS, PERSISTENT_ALL_CACHES, PERSISTENT_ANIMATION_CACHE, PERSISTENT_NO_CACHE, PERSISTENT_SCROLLING_CACHEALPHA, DRAWING_CACHE_QUALITY_AUTO, DRAWING_CACHE_QUALITY_HIGH, DRAWING_CACHE_QUALITY_LOW, EMPTY_STATE_SET, ENABLED_FOCUSED_SELECTED_STATE_SET, ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_FOCUSED_STATE_SET, ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, ENABLED_SELECTED_STATE_SET, ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_STATE_SET, ENABLED_WINDOW_FOCUSED_STATE_SET, FIND_VIEWS_WITH_CONTENT_DESCRIPTION, FIND_VIEWS_WITH_TEXT, FOCUS_BACKWARD, FOCUS_DOWN, FOCUS_FORWARD, FOCUS_LEFT, FOCUS_RIGHT, FOCUS_UP, FOCUSABLES_ALL, FOCUSABLES_TOUCH_MODE, FOCUSED_SELECTED_STATE_SET, FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, FOCUSED_STATE_SET, FOCUSED_WINDOW_FOCUSED_STATE_SET, GONE, HAPTIC_FEEDBACK_ENABLED, IMPORTANT_FOR_ACCESSIBILITY_AUTO, IMPORTANT_FOR_ACCESSIBILITY_NO, IMPORTANT_FOR_ACCESSIBILITY_YES, INVISIBLE, KEEP_SCREEN_ON, LAYER_TYPE_HARDWARE, LAYER_TYPE_NONE, LAYER_TYPE_SOFTWARE, MEASURED_HEIGHT_STATE_SHIFT, MEASURED_SIZE_MASK, MEASURED_STATE_MASK, MEASURED_STATE_TOO_SMALL, NO_ID, OVER_SCROLL_ALWAYS, OVER_SCROLL_IF_CONTENT_SCROLLS, OVER_SCROLL_NEVER, PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET, PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_SELECTED_STATE_SET, PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_STATE_SET, PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_SELECTED_STATE_SET, PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_STATE_SET, PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_SELECTED_STATE_SET, PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_WINDOW_FOCUSED_STATE_SET, ROTATION, ROTATION_X, ROTATION_Y, SCALE_X, SCALE_Y, SCREEN_STATE_OFF, SCREEN_STATE_ON, SCROLLBAR_POSITION_DEFAULT, SCROLLBAR_POSITION_LEFT, SCROLLBAR_POSITION_RIGHT, SCROLLBARS_INSIDE_INSET, SCROLLBARS_INSIDE_OVERLAY, SCROLLBARS_OUTSIDE_INSET, SCROLLBARS_OUTSIDE_OVERLAY, SELECTED_STATE_SET, SELECTED_WINDOW_FOCUSED_STATE_SET, SOUND_EFFECTS_ENABLED, STATUS_BAR_HIDDEN, STATUS_BAR_VISIBLE, SYSTEM_UI_FLAG_FULLSCREEN, SYSTEM_UI_FLAG_HIDE_NAVIGATION, SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN, SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION, SYSTEM_UI_FLAG_LAYOUT_STABLE, SYSTEM_UI_FLAG_LOW_PROFILE, SYSTEM_UI_FLAG_VISIBLE, SYSTEM_UI_LAYOUT_FLAGS, TEXT_ALIGNMENT_INHERIT, TEXT_ALIGNMENT_RESOLVED_DEFAULT, TRANSLATION_X, TRANSLATION_Y, VIEW_LOG_TAG, VISIBLE, WINDOW_FOCUSED_STATE_SET, X, Y| Constructor and Description |
|---|
ListView(android.content.Context context) |
ListView(android.content.Context context,
android.util.AttributeSet attrs) |
ListView(android.content.Context context,
android.util.AttributeSet attrs,
int defStyle) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFooterView(android.view.View v) |
void |
addFooterView(android.view.View v,
Object data,
boolean isSelectable) |
void |
addHeaderView(android.view.View v) |
void |
addHeaderView(android.view.View v,
Object data,
boolean isSelectable) |
void |
clearChoices() |
protected android.view.ContextMenu.ContextMenuInfo |
createContextMenuInfo(android.view.View view,
int position,
long id) |
void |
draw(android.graphics.Canvas canvas) |
Activity |
getActivity() |
android.widget.ListAdapter |
getAdapterSource() |
int |
getCheckedItemCount() |
long[] |
getCheckedItemIds() |
int |
getCheckedItemPosition() |
android.util.SparseBooleanArray |
getCheckedItemPositions() |
long[] |
getCheckItemIds()
Deprecated.
|
int |
getChoiceMode() |
android.view.ContextMenu.ContextMenuInfo |
getContextMenuInfo() |
int |
getFooterViewsCount() |
int |
getHeaderViewsCount() |
int |
getVerticalScrollbarPosition() |
int |
getVerticalScrollbarWidth() |
boolean |
isAttached() |
boolean |
isFastScrollAlwaysVisible() |
boolean |
isFastScrollEnabled() |
boolean |
isForceHeaderListAdapter() |
boolean |
isInScrollingContainer() |
boolean |
isItemChecked(int position) |
boolean |
isPaddingFromScroller() |
protected boolean |
isVerticalScrollBarHidden() |
protected void |
onAttachedToWindow() |
protected void |
onDetachedFromWindow() |
protected void |
onFocusChanged(boolean gainFocus,
int direction,
android.graphics.Rect previouslyFocusedRect) |
boolean |
onInterceptTouchEvent(android.view.MotionEvent ev) |
boolean |
onKeyUp(int keyCode,
android.view.KeyEvent event) |
protected void |
onLayout(boolean changed,
int l,
int t,
int r,
int b) |
android.view.View |
onPrepareView(android.view.View view,
int position) |
void |
onRestoreInstanceState(android.os.Parcelable sState) |
android.os.Parcelable |
onSaveInstanceState() |
protected void |
onSizeChanged(int w,
int h,
int oldw,
int oldh) |
boolean |
onTouchEvent(android.view.MotionEvent ev) |
void |
onWindowFocusChanged(boolean hasWindowFocus) |
boolean |
performItemClick(android.view.View view,
int position,
long id) |
boolean |
performItemLongClick(android.view.View child,
int longPressPosition,
long longPressId) |
protected void |
recomputePaddingFromScroller() |
boolean |
removeFooterView(android.view.View v) |
boolean |
removeHeaderView(android.view.View v) |
protected void |
reportScrollStateChange(int newState) |
void |
setActivity(Activity activity) |
void |
setAdapter(android.widget.ListAdapter adapter) |
void |
setChoiceMode(int choiceMode) |
void |
setEnableModalBackgroundWrapper(boolean enableModalBackgroundWrapper) |
void |
setFastScrollAlwaysVisible(boolean alwaysShow) |
void |
setFastScrollEnabled(boolean enabled) |
void |
setForceHeaderListAdapter(boolean forceHeaderListAdapter) |
void |
setItemChecked(int position,
boolean value) |
void |
setMultiChoiceModeListener(ListView.MultiChoiceModeListener listener) |
void |
setOnItemLongClickListener(android.widget.AdapterView.OnItemLongClickListener listener) |
void |
setOnScrollListener(android.widget.AbsListView.OnScrollListener l) |
void |
setPaddingFromScroller(boolean paddingFromScroller) |
protected void |
setStateOnView(android.view.View child,
boolean value) |
void |
setVerticalScrollbarPosition(int position) |
boolean |
showContextMenuForChild(android.view.View originalView) |
ActionMode |
startActionMode(ActionMode.Callback callback) |
canAnimate, dispatchDraw, dispatchKeyEvent, drawChild, findViewTraversal, findViewWithTagTraversal, getAdapter, getDivider, getDividerHeight, getItemsCanFocus, getMaxScrollAmount, getOverscrollFooter, getOverscrollHeader, isOpaque, layoutChildren, onFinishInflate, onInitializeAccessibilityEvent, onInitializeAccessibilityNodeInfo, onKeyDown, onKeyMultiple, onMeasure, requestChildRectangleOnScreen, setCacheColorHint, setDivider, setDividerHeight, setFooterDividersEnabled, setHeaderDividersEnabled, setItemsCanFocus, setOverscrollFooter, setOverscrollHeader, setRemoteViewsAdapter, setSelection, setSelectionAfterHeaderView, setSelectionFromTop, smoothScrollByOffset, smoothScrollToPositionaddFocusables, addTouchables, afterTextChanged, beforeTextChanged, checkInputConnectionProxy, checkLayoutParams, clearTextFilter, computeVerticalScrollExtent, computeVerticalScrollOffset, computeVerticalScrollRange, deferNotifyDataSetChanged, dispatchSetPressed, drawableStateChanged, focusSearch, focusSearch, generateDefaultLayoutParams, generateLayoutParams, generateLayoutParams, getBottomFadingEdgeStrength, getBottomPaddingOffset, getCacheColorHint, getFocusedRect, getLeftPaddingOffset, getListPaddingBottom, getListPaddingLeft, getListPaddingRight, getListPaddingTop, getRightPaddingOffset, getSelectedView, getSelector, getSolidColor, getTextFilter, getTopFadingEdgeStrength, getTopPaddingOffset, getTranscriptMode, handleDataChanged, hasTextFilter, invalidateViews, isInFilterMode, isPaddingOffsetRequired, isScrollingCacheEnabled, isSmoothScrollbarEnabled, isStackFromBottom, isTextFilterEnabled, jumpDrawablesToCurrentState, onCreateDrawableState, onCreateInputConnection, onDisplayHint, onFilterComplete, onGenericMotionEvent, onGlobalLayout, onOverScrolled, onRemoteAdapterConnected, onRemoteAdapterDisconnected, onTextChanged, onTouchModeChanged, performAccessibilityAction, pointToPosition, pointToRowId, reclaimViews, requestDisallowInterceptTouchEvent, requestLayout, sendAccessibilityEvent, setDrawSelectorOnTop, setFilterText, setFriction, setMultiChoiceModeListener, setOverScrollMode, setRecyclerListener, setScrollIndicators, setScrollingCacheEnabled, setSelector, setSelector, setSmoothScrollbarEnabled, setStackFromBottom, setTextFilterEnabled, setTranscriptMode, setVelocityScale, smoothScrollBy, smoothScrollToPosition, smoothScrollToPositionFromTop, smoothScrollToPositionFromTop, verifyDrawableaddView, addView, addView, addView, dispatchPopulateAccessibilityEvent, dispatchRestoreInstanceState, dispatchSaveInstanceState, getCount, getEmptyView, getFirstVisiblePosition, getItemAtPosition, getItemIdAtPosition, getLastVisiblePosition, getOnItemClickListener, getOnItemLongClickListener, getOnItemSelectedListener, getPositionForView, getSelectedItem, getSelectedItemId, getSelectedItemPosition, onRequestSendAccessibilityEvent, removeAllViews, removeView, removeViewAt, setEmptyView, setFocusable, setFocusableInTouchMode, setOnClickListener, setOnItemClickListener, setOnItemSelectedListeneraddChildrenForAccessibility, addStatesFromChildren, addView, addViewInLayout, addViewInLayout, attachLayoutAnimationParameters, attachViewToParent, bringChildToFront, childDrawableStateChanged, cleanupLayoutState, clearChildFocus, clearDisappearingChildren, clearFocus, debug, detachAllViewsFromParent, detachViewFromParent, detachViewFromParent, detachViewsFromParent, dispatchConfigurationChanged, dispatchDisplayHint, dispatchDragEvent, dispatchFreezeSelfOnly, dispatchGenericFocusedEvent, dispatchGenericPointerEvent, dispatchHoverEvent, dispatchKeyEventPreIme, dispatchKeyShortcutEvent, dispatchSetActivated, dispatchSetSelected, dispatchSystemUiVisibilityChanged, dispatchThawSelfOnly, dispatchTouchEvent, dispatchTrackballEvent, dispatchUnhandledMove, dispatchVisibilityChanged, dispatchWindowFocusChanged, dispatchWindowSystemUiVisiblityChanged, dispatchWindowVisibilityChanged, endViewTransition, findFocus, findViewsWithText, fitSystemWindows, focusableViewAvailable, gatherTransparentRegion, getChildAt, getChildCount, getChildDrawingOrder, getChildMeasureSpec, getChildStaticTransformation, getChildVisibleRect, getDescendantFocusability, getFocusedChild, getLayoutAnimation, getLayoutAnimationListener, getLayoutTransition, getPersistentDrawingCache, hasFocus, hasFocusable, indexOfChild, invalidateChild, invalidateChildInParent, isAlwaysDrawnWithCacheEnabled, isAnimationCacheEnabled, isChildrenDrawingOrderEnabled, isChildrenDrawnWithCacheEnabled, isMotionEventSplittingEnabled, layout, measureChild, measureChildren, measureChildWithMargins, offsetDescendantRectToMyCoords, offsetRectIntoDescendantCoords, onAnimationEnd, onAnimationStart, onInterceptHoverEvent, onRequestFocusInDescendants, recomputeViewAttributes, removeAllViewsInLayout, removeDetachedView, removeViewInLayout, removeViews, removeViewsInLayout, requestChildFocus, requestFocus, requestSendAccessibilityEvent, requestTransparentRegion, scheduleLayoutAnimation, setAddStatesFromChildren, setAlwaysDrawnWithCacheEnabled, setAnimationCacheEnabled, setChildrenDrawingCacheEnabled, setChildrenDrawingOrderEnabled, setChildrenDrawnWithCacheEnabled, setClipChildren, setClipToPadding, setDescendantFocusability, setLayoutAnimation, setLayoutAnimationListener, setLayoutTransition, setMotionEventSplittingEnabled, setOnHierarchyChangeListener, setPadding, setPersistentDrawingCache, setStaticTransformationsEnabled, shouldDelayChildPressedState, startActionModeForChild, startLayoutAnimation, startViewTransition, updateViewLayoutaddFocusables, addOnAttachStateChangeListener, addOnLayoutChangeListener, animate, announceForAccessibility, awakenScrollBars, awakenScrollBars, awakenScrollBars, bringToFront, buildDrawingCache, buildDrawingCache, buildLayer, callOnClick, cancelLongPress, canScrollHorizontally, canScrollVertically, clearAnimation, combineMeasuredStates, computeHorizontalScrollExtent, computeHorizontalScrollOffset, computeHorizontalScrollRange, computeScroll, createAccessibilityNodeInfo, createContextMenu, destroyDrawingCache, dispatchGenericMotionEvent, findViewById, findViewWithTag, forceLayout, getAccessibilityNodeProvider, getAlpha, getAnimation, getApplicationWindowToken, getBackground, getBaseline, getBottom, getCameraDistance, getContentDescription, getContext, getDefaultSize, getDrawableState, getDrawingCache, getDrawingCache, getDrawingCacheBackgroundColor, getDrawingCacheQuality, getDrawingRect, getDrawingTime, getFilterTouchesWhenObscured, getFitsSystemWindows, getFocusables, getGlobalVisibleRect, getGlobalVisibleRect, getHandler, getHeight, getHitRect, getHorizontalFadingEdgeLength, getHorizontalScrollbarHeight, getId, getImportantForAccessibility, getKeepScreenOn, getKeyDispatcherState, getLayerType, getLayoutParams, getLeft, getLeftFadingEdgeStrength, getLocalVisibleRect, getLocationInWindow, getLocationOnScreen, getMatrix, getMeasuredHeight, getMeasuredHeightAndState, getMeasuredState, getMeasuredWidth, getMeasuredWidthAndState, getMinimumHeight, getMinimumWidth, getNextFocusDownId, getNextFocusForwardId, getNextFocusLeftId, getNextFocusRightId, getNextFocusUpId, getOnFocusChangeListener, getOverScrollMode, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getParent, getParentForAccessibility, getPivotX, getPivotY, getResources, getRight, getRightFadingEdgeStrength, getRootView, getRotation, getRotationX, getRotationY, getScaleX, getScaleY, getScrollBarDefaultDelayBeforeFade, getScrollBarFadeDuration, getScrollBarSize, getScrollBarStyle, getScrollX, getScrollY, getSuggestedMinimumHeight, getSuggestedMinimumWidth, getSystemUiVisibility, getTag, getTag, getTop, getTouchables, getTouchDelegate, getTranslationX, getTranslationY, getVerticalFadingEdgeLength, getViewTreeObserver, getVisibility, getWidth, getWindowAttachCount, getWindowSystemUiVisibility, getWindowToken, getWindowVisibility, getWindowVisibleDisplayFrame, getX, getY, hasOnClickListeners, hasOverlappingRendering, hasTransientState, hasWindowFocus, inflate, initializeFadingEdge, initializeScrollbars, invalidate, invalidate, invalidate, invalidateDrawable, isActivated, isClickable, isDirty, isDrawingCacheEnabled, isDuplicateParentStateEnabled, isEnabled, isFocusable, isFocusableInTouchMode, isFocused, isHapticFeedbackEnabled, isHardwareAccelerated, isHorizontalFadingEdgeEnabled, isHorizontalScrollBarEnabled, isHovered, isInEditMode, isInTouchMode, isLayoutRequested, isLongClickable, isPressed, isSaveEnabled, isSaveFromParentEnabled, isScrollbarFadingEnabled, isScrollContainer, isSelected, isShown, isSoundEffectsEnabled, isVerticalFadingEdgeEnabled, isVerticalScrollBarEnabled, measure, mergeDrawableStates, offsetLeftAndRight, offsetTopAndBottom, onCheckIsTextEditor, onConfigurationChanged, onCreateContextMenu, onDragEvent, onDraw, onDrawScrollBars, onFilterTouchEventForSecurity, onFinishTemporaryDetach, onHoverChanged, onHoverEvent, onKeyLongPress, onKeyPreIme, onKeyShortcut, onPopulateAccessibilityEvent, onScreenStateChanged, onScrollChanged, onSetAlpha, onStartTemporaryDetach, onTrackballEvent, onVisibilityChanged, onWindowSystemUiVisibilityChanged, onWindowVisibilityChanged, overScrollBy, performClick, performHapticFeedback, performHapticFeedback, performLongClick, playSoundEffect, post, postDelayed, postInvalidate, postInvalidate, postInvalidateDelayed, postInvalidateDelayed, postInvalidateOnAnimation, postInvalidateOnAnimation, postOnAnimation, postOnAnimationDelayed, refreshDrawableState, removeCallbacks, removeOnAttachStateChangeListener, removeOnLayoutChangeListener, requestFitSystemWindows, requestFocus, requestFocus, requestFocusFromTouch, requestRectangleOnScreen, requestRectangleOnScreen, resolveSize, resolveSizeAndState, restoreHierarchyState, saveHierarchyState, scheduleDrawable, scrollBy, scrollTo, sendAccessibilityEventUnchecked, setAccessibilityDelegate, setActivated, setAlpha, setAnimation, setBackground, setBackgroundColor, setBackgroundDrawable, setBackgroundResource, setBottom, setCameraDistance, setClickable, setContentDescription, setDrawingCacheBackgroundColor, setDrawingCacheEnabled, setDrawingCacheQuality, setDuplicateParentStateEnabled, setEnabled, setFadingEdgeLength, setFilterTouchesWhenObscured, setFitsSystemWindows, setHapticFeedbackEnabled, setHasTransientState, setHorizontalFadingEdgeEnabled, setHorizontalScrollBarEnabled, setHovered, setId, setImportantForAccessibility, setKeepScreenOn, setLayerType, setLayoutParams, setLeft, setLongClickable, setMeasuredDimension, setMinimumHeight, setMinimumWidth, setNextFocusDownId, setNextFocusForwardId, setNextFocusLeftId, setNextFocusRightId, setNextFocusUpId, setOnCreateContextMenuListener, setOnDragListener, setOnFocusChangeListener, setOnGenericMotionListener, setOnHoverListener, setOnKeyListener, setOnLongClickListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setPivotX, setPivotY, setPressed, setRight, setRotation, setRotationX, setRotationY, setSaveEnabled, setSaveFromParentEnabled, setScaleX, setScaleY, setScrollBarDefaultDelayBeforeFade, setScrollBarFadeDuration, setScrollbarFadingEnabled, setScrollBarSize, setScrollBarStyle, setScrollContainer, setScrollX, setScrollY, setSelected, setSoundEffectsEnabled, setSystemUiVisibility, setTag, setTag, setTop, setTouchDelegate, setTranslationX, setTranslationY, setVerticalFadingEdgeEnabled, setVerticalScrollBarEnabled, setVisibility, setWillNotCacheDrawing, setWillNotDraw, setX, setY, showContextMenu, startActionMode, startAnimation, startDrag, unscheduleDrawable, unscheduleDrawable, willNotCacheDrawing, willNotDrawpublic static final int CHOICE_MODE_MULTIPLE
public static final int CHOICE_MODE_MULTIPLE_MODAL
public static final int CHOICE_MODE_NONE
public static final int CHOICE_MODE_SINGLE
public ListView(android.content.Context context)
public ListView(android.content.Context context,
android.util.AttributeSet attrs)
public ListView(android.content.Context context,
android.util.AttributeSet attrs,
int defStyle)
public void addFooterView(android.view.View v)
addFooterView in class android.widget.ListViewpublic void addFooterView(android.view.View v,
Object data,
boolean isSelectable)
addFooterView in class android.widget.ListViewpublic void addHeaderView(android.view.View v)
addHeaderView in class android.widget.ListViewpublic void addHeaderView(android.view.View v,
Object data,
boolean isSelectable)
addHeaderView in class android.widget.ListViewpublic void clearChoices()
clearChoices in class android.widget.AbsListViewprotected android.view.ContextMenu.ContextMenuInfo createContextMenuInfo(android.view.View view,
int position,
long id)
public void draw(android.graphics.Canvas canvas)
draw in class android.widget.AbsListViewpublic Activity getActivity()
public android.widget.ListAdapter getAdapterSource()
public int getCheckedItemCount()
getCheckedItemCount in class android.widget.AbsListViewpublic long[] getCheckedItemIds()
getCheckedItemIds in class android.widget.AbsListViewpublic int getCheckedItemPosition()
getCheckedItemPosition in class android.widget.AbsListViewpublic android.util.SparseBooleanArray getCheckedItemPositions()
getCheckedItemPositions in class android.widget.AbsListView@Deprecated public long[] getCheckItemIds()
getCheckItemIds in class android.widget.ListViewpublic int getChoiceMode()
getChoiceMode in class android.widget.AbsListViewpublic android.view.ContextMenu.ContextMenuInfo getContextMenuInfo()
getContextMenuInfo in interface ContextMenuBuilder.ContextMenuInfoGettergetContextMenuInfo in class android.widget.AbsListViewpublic int getFooterViewsCount()
getFooterViewsCount in class android.widget.ListViewpublic int getHeaderViewsCount()
getHeaderViewsCount in class android.widget.ListViewpublic int getVerticalScrollbarPosition()
getVerticalScrollbarPosition in class android.view.Viewpublic int getVerticalScrollbarWidth()
getVerticalScrollbarWidth in class android.widget.AbsListViewpublic boolean isAttached()
public boolean isFastScrollAlwaysVisible()
isFastScrollAlwaysVisible in class android.widget.AbsListViewpublic boolean isFastScrollEnabled()
isFastScrollEnabled in class android.widget.AbsListViewpublic boolean isForceHeaderListAdapter()
public boolean isInScrollingContainer()
public boolean isItemChecked(int position)
isItemChecked in class android.widget.AbsListViewpublic boolean isPaddingFromScroller()
protected boolean isVerticalScrollBarHidden()
protected void onAttachedToWindow()
onAttachedToWindow in class android.widget.AbsListViewprotected void onDetachedFromWindow()
onDetachedFromWindow in class android.widget.AbsListViewprotected void onFocusChanged(boolean gainFocus,
int direction,
android.graphics.Rect previouslyFocusedRect)
onFocusChanged in class android.widget.ListViewpublic boolean onInterceptTouchEvent(android.view.MotionEvent ev)
onInterceptTouchEvent in class android.widget.AbsListViewpublic boolean onKeyUp(int keyCode,
android.view.KeyEvent event)
onKeyUp in interface android.view.KeyEvent.CallbackonKeyUp in class android.widget.ListViewprotected void onLayout(boolean changed,
int l,
int t,
int r,
int b)
onLayout in class android.widget.AbsListViewpublic android.view.View onPrepareView(android.view.View view,
int position)
public void onRestoreInstanceState(android.os.Parcelable sState)
onRestoreInstanceState in class android.widget.AbsListViewpublic android.os.Parcelable onSaveInstanceState()
onSaveInstanceState in class android.widget.AbsListViewprotected void onSizeChanged(int w,
int h,
int oldw,
int oldh)
onSizeChanged in class android.widget.ListViewpublic boolean onTouchEvent(android.view.MotionEvent ev)
onTouchEvent in class android.widget.AbsListViewpublic void onWindowFocusChanged(boolean hasWindowFocus)
onWindowFocusChanged in interface IHoloActivity.OnWindowFocusChangeListeneronWindowFocusChanged in class android.widget.AbsListViewpublic boolean performItemClick(android.view.View view,
int position,
long id)
performItemClick in class android.widget.AbsListViewpublic boolean performItemLongClick(android.view.View child,
int longPressPosition,
long longPressId)
protected void recomputePaddingFromScroller()
public boolean removeFooterView(android.view.View v)
removeFooterView in class android.widget.ListViewpublic boolean removeHeaderView(android.view.View v)
removeHeaderView in class android.widget.ListViewprotected void reportScrollStateChange(int newState)
public final void setActivity(Activity activity)
public void setAdapter(android.widget.ListAdapter adapter)
setAdapter in class android.widget.ListViewpublic void setChoiceMode(int choiceMode)
setChoiceMode in class android.widget.AbsListViewpublic void setEnableModalBackgroundWrapper(boolean enableModalBackgroundWrapper)
public void setFastScrollAlwaysVisible(boolean alwaysShow)
setFastScrollAlwaysVisible in class android.widget.AbsListViewpublic void setFastScrollEnabled(boolean enabled)
setFastScrollEnabled in class android.widget.AbsListViewpublic void setForceHeaderListAdapter(boolean forceHeaderListAdapter)
public void setItemChecked(int position,
boolean value)
setItemChecked in class android.widget.AbsListViewpublic void setMultiChoiceModeListener(ListView.MultiChoiceModeListener listener)
public void setOnItemLongClickListener(android.widget.AdapterView.OnItemLongClickListener listener)
setOnItemLongClickListener in class android.widget.AdapterView<android.widget.ListAdapter>public void setOnScrollListener(android.widget.AbsListView.OnScrollListener l)
setOnScrollListener in class android.widget.AbsListViewpublic void setPaddingFromScroller(boolean paddingFromScroller)
protected final void setStateOnView(android.view.View child,
boolean value)
public void setVerticalScrollbarPosition(int position)
setVerticalScrollbarPosition in class android.widget.AbsListViewpublic boolean showContextMenuForChild(android.view.View originalView)
showContextMenuForChild in interface android.view.ViewParentshowContextMenuForChild in class android.widget.AbsListViewpublic ActionMode startActionMode(ActionMode.Callback callback)
Copyright © 2012-2013. All Rights Reserved.