public class GridView extends android.widget.GridView implements IHoloActivity.OnWindowFocusChangeListener, ContextMenuBuilder.ContextMenuInfoGetter, ListAdapterWrapper.ListAdapterCallback
android.widget.AbsListView.LayoutParams, android.widget.AbsListView.MultiChoiceModeListener, 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_MODAL |
AUTO_FIT, NO_STRETCH, STRETCH_COLUMN_WIDTH, STRETCH_SPACING, STRETCH_SPACING_UNIFORMCHOICE_MODE_MULTIPLE, CHOICE_MODE_NONE, 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 |
|---|
GridView(android.content.Context context) |
GridView(android.content.Context context,
android.util.AttributeSet attrs) |
GridView(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) |
Activity |
getActivity() |
int |
getCheckedItemCount() |
long[] |
getCheckedItemIds() |
int |
getCheckedItemPosition() |
android.util.SparseBooleanArray |
getCheckedItemPositions() |
long[] |
getCheckItemIds()
Deprecated.
|
int |
getChoiceMode() |
android.view.ContextMenu.ContextMenuInfo |
getContextMenuInfo() |
int |
getFooterViewsCount() |
int |
getHeaderViewsCount() |
boolean |
isAttached() |
boolean |
isFastScrollEnabled() |
boolean |
isForceHeaderListAdapter() |
boolean |
isInScrollingContainer() |
boolean |
isItemChecked(int position) |
protected void |
onAttachedToWindow() |
void |
onChanged() |
protected void |
onDetachedFromWindow() |
protected void |
onFocusChanged(boolean gainFocus,
int direction,
android.graphics.Rect previouslyFocusedRect) |
void |
onInvalidated() |
boolean |
onKeyUp(int keyCode,
android.view.KeyEvent event) |
android.view.View |
onPrepareView(android.view.View view,
int position) |
void |
onWindowFocusChanged(boolean hasWindowFocus) |
boolean |
performItemClick(android.view.View view,
int position,
long id) |
boolean |
performItemLongClick(android.view.View child,
int longPressPosition,
long longPressId) |
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 |
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) |
protected void |
setStateOnView(android.view.View child,
boolean value) |
boolean |
showContextMenuForChild(android.view.View originalView) |
ActionMode |
startActionMode(ActionMode.Callback callback) |
attachLayoutAnimationParameters, computeVerticalScrollExtent, computeVerticalScrollOffset, computeVerticalScrollRange, getAdapter, getColumnWidth, getGravity, getHorizontalSpacing, getNumColumns, getRequestedColumnWidth, getRequestedHorizontalSpacing, getStretchMode, getVerticalSpacing, layoutChildren, onInitializeAccessibilityEvent, onInitializeAccessibilityNodeInfo, onKeyDown, onKeyMultiple, onMeasure, setColumnWidth, setGravity, setHorizontalSpacing, setNumColumns, setRemoteViewsAdapter, setSelection, setStretchMode, setVerticalSpacing, smoothScrollByOffset, smoothScrollToPositionaddFocusables, addTouchables, afterTextChanged, beforeTextChanged, checkInputConnectionProxy, checkLayoutParams, clearTextFilter, deferNotifyDataSetChanged, dispatchDraw, dispatchSetPressed, draw, drawableStateChanged, focusSearch, focusSearch, generateDefaultLayoutParams, generateLayoutParams, generateLayoutParams, getBottomFadingEdgeStrength, getBottomPaddingOffset, getCacheColorHint, getFocusedRect, getLeftPaddingOffset, getListPaddingBottom, getListPaddingLeft, getListPaddingRight, getListPaddingTop, getRightPaddingOffset, getSelectedView, getSelector, getSolidColor, getTextFilter, getTopFadingEdgeStrength, getTopPaddingOffset, getTranscriptMode, getVerticalScrollbarWidth, handleDataChanged, hasTextFilter, invalidateViews, isFastScrollAlwaysVisible, isInFilterMode, isPaddingOffsetRequired, isScrollingCacheEnabled, isSmoothScrollbarEnabled, isStackFromBottom, isTextFilterEnabled, jumpDrawablesToCurrentState, onCreateDrawableState, onCreateInputConnection, onDisplayHint, onFilterComplete, onGenericMotionEvent, onGlobalLayout, onInterceptTouchEvent, onLayout, onOverScrolled, onRemoteAdapterConnected, onRemoteAdapterDisconnected, onRestoreInstanceState, onSaveInstanceState, onSizeChanged, onTextChanged, onTouchEvent, onTouchModeChanged, performAccessibilityAction, pointToPosition, pointToRowId, reclaimViews, requestDisallowInterceptTouchEvent, requestLayout, sendAccessibilityEvent, setCacheColorHint, setDrawSelectorOnTop, setFastScrollAlwaysVisible, setFastScrollEnabled, setFilterText, setFriction, setMultiChoiceModeListener, setOverScrollMode, setRecyclerListener, setScrollIndicators, setScrollingCacheEnabled, setSelector, setSelector, setSmoothScrollbarEnabled, setStackFromBottom, setTextFilterEnabled, setTranscriptMode, setVelocityScale, setVerticalScrollbarPosition, smoothScrollBy, smoothScrollToPosition, smoothScrollToPositionFromTop, smoothScrollToPositionFromTop, verifyDrawableaddView, addView, addView, addView, canAnimate, 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, attachViewToParent, bringChildToFront, childDrawableStateChanged, cleanupLayoutState, clearChildFocus, clearDisappearingChildren, clearFocus, debug, detachAllViewsFromParent, detachViewFromParent, detachViewFromParent, detachViewsFromParent, dispatchConfigurationChanged, dispatchDisplayHint, dispatchDragEvent, dispatchFreezeSelfOnly, dispatchGenericFocusedEvent, dispatchGenericPointerEvent, dispatchHoverEvent, dispatchKeyEvent, dispatchKeyEventPreIme, dispatchKeyShortcutEvent, dispatchSetActivated, dispatchSetSelected, dispatchSystemUiVisibilityChanged, dispatchThawSelfOnly, dispatchTouchEvent, dispatchTrackballEvent, dispatchUnhandledMove, dispatchVisibilityChanged, dispatchWindowFocusChanged, dispatchWindowSystemUiVisiblityChanged, dispatchWindowVisibilityChanged, drawChild, 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, requestChildRectangleOnScreen, 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, getVerticalScrollbarPosition, 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, isOpaque, isPressed, isSaveEnabled, isSaveFromParentEnabled, isScrollbarFadingEnabled, isScrollContainer, isSelected, isShown, isSoundEffectsEnabled, isVerticalFadingEdgeEnabled, isVerticalScrollBarEnabled, measure, mergeDrawableStates, offsetLeftAndRight, offsetTopAndBottom, onCheckIsTextEditor, onConfigurationChanged, onCreateContextMenu, onDragEvent, onDraw, onDrawScrollBars, onFilterTouchEventForSecurity, onFinishInflate, 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_MODAL
public GridView(android.content.Context context)
public GridView(android.content.Context context,
android.util.AttributeSet attrs)
public GridView(android.content.Context context,
android.util.AttributeSet attrs,
int defStyle)
public void addFooterView(android.view.View v)
public void addFooterView(android.view.View v,
Object data,
boolean isSelectable)
public void addHeaderView(android.view.View v)
public void addHeaderView(android.view.View v,
Object data,
boolean isSelectable)
public void clearChoices()
clearChoices in class android.widget.AbsListViewprotected android.view.ContextMenu.ContextMenuInfo createContextMenuInfo(android.view.View view,
int position,
long id)
public Activity getActivity()
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()
public 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()
public int getHeaderViewsCount()
public boolean isAttached()
public boolean isFastScrollEnabled()
isFastScrollEnabled in class android.widget.AbsListViewpublic boolean isForceHeaderListAdapter()
public boolean isInScrollingContainer()
public boolean isItemChecked(int position)
isItemChecked in class android.widget.AbsListViewprotected void onAttachedToWindow()
onAttachedToWindow in class android.widget.AbsListViewpublic void onChanged()
onChanged in interface ListAdapterWrapper.ListAdapterCallbackprotected void onDetachedFromWindow()
onDetachedFromWindow in class android.widget.AbsListViewprotected void onFocusChanged(boolean gainFocus,
int direction,
android.graphics.Rect previouslyFocusedRect)
onFocusChanged in class android.widget.GridViewpublic void onInvalidated()
onInvalidated in interface ListAdapterWrapper.ListAdapterCallbackpublic boolean onKeyUp(int keyCode,
android.view.KeyEvent event)
onKeyUp in interface android.view.KeyEvent.CallbackonKeyUp in class android.widget.GridViewpublic android.view.View onPrepareView(android.view.View view,
int position)
onPrepareView in interface ListAdapterWrapper.ListAdapterCallbackpublic 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)
public boolean removeFooterView(android.view.View v)
public boolean removeHeaderView(android.view.View v)
protected void reportScrollStateChange(int newState)
public final void setActivity(Activity activity)
public void setAdapter(android.widget.ListAdapter adapter)
setAdapter in class android.widget.GridViewpublic void setChoiceMode(int choiceMode)
setChoiceMode in class android.widget.AbsListViewpublic void setEnableModalBackgroundWrapper(boolean enableModalBackgroundWrapper)
public 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.AbsListViewprotected final void setStateOnView(android.view.View child,
boolean value)
public 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.