1 package android.support.v7.widget { 2 3 public class DefaultItemAnimator extends android.support.v7.widget.RecyclerView.ItemAnimator { 4 ctor public DefaultItemAnimator(); 5 method public boolean animateAdd(android.support.v7.widget.RecyclerView.ViewHolder); 6 method public boolean animateChange(android.support.v7.widget.RecyclerView.ViewHolder, android.support.v7.widget.RecyclerView.ViewHolder, int, int, int, int); 7 method public boolean animateMove(android.support.v7.widget.RecyclerView.ViewHolder, int, int, int, int); 8 method public boolean animateRemove(android.support.v7.widget.RecyclerView.ViewHolder); 9 method public void endAnimation(android.support.v7.widget.RecyclerView.ViewHolder); 10 method public void endAnimations(); 11 method public boolean isRunning(); 12 method public void runPendingAnimations(); 13 } 14 15 public class GridLayoutManager extends android.support.v7.widget.LinearLayoutManager { 16 ctor public GridLayoutManager(android.content.Context, int); 17 ctor public GridLayoutManager(android.content.Context, int, int, boolean); 18 method public int getSpanCount(); 19 method public android.support.v7.widget.GridLayoutManager.SpanSizeLookup getSpanSizeLookup(); 20 method public void setSpanCount(int); 21 method public void setSpanSizeLookup(android.support.v7.widget.GridLayoutManager.SpanSizeLookup); 22 field public static final int DEFAULT_SPAN_COUNT = -1; // 0xffffffff 23 } 24 25 public static final class GridLayoutManager.DefaultSpanSizeLookup extends android.support.v7.widget.GridLayoutManager.SpanSizeLookup { 26 ctor public GridLayoutManager.DefaultSpanSizeLookup(); 27 method public int getSpanSize(int); 28 } 29 30 public static class GridLayoutManager.LayoutParams extends android.support.v7.widget.RecyclerView.LayoutParams { 31 ctor public GridLayoutManager.LayoutParams(android.content.Context, android.util.AttributeSet); 32 ctor public GridLayoutManager.LayoutParams(int, int); 33 ctor public GridLayoutManager.LayoutParams(android.view.ViewGroup.MarginLayoutParams); 34 ctor public GridLayoutManager.LayoutParams(android.view.ViewGroup.LayoutParams); 35 ctor public GridLayoutManager.LayoutParams(android.support.v7.widget.RecyclerView.LayoutParams); 36 method public int getSpanIndex(); 37 method public int getSpanSize(); 38 field public static final int INVALID_SPAN_ID = -1; // 0xffffffff 39 } 40 41 public static abstract class GridLayoutManager.SpanSizeLookup { 42 ctor public GridLayoutManager.SpanSizeLookup(); 43 method public int getSpanGroupIndex(int, int); 44 method public int getSpanIndex(int, int); 45 method public abstract int getSpanSize(int); 46 method public void invalidateSpanIndexCache(); 47 method public boolean isSpanIndexCacheEnabled(); 48 method public void setSpanIndexCacheEnabled(boolean); 49 } 50 51 public class LinearLayoutManager extends android.support.v7.widget.RecyclerView.LayoutManager { 52 ctor public LinearLayoutManager(android.content.Context); 53 ctor public LinearLayoutManager(android.content.Context, int, boolean); 54 method public android.graphics.PointF computeScrollVectorForPosition(int); 55 method public int findFirstCompletelyVisibleItemPosition(); 56 method public int findFirstVisibleItemPosition(); 57 method public int findLastCompletelyVisibleItemPosition(); 58 method public int findLastVisibleItemPosition(); 59 method public android.support.v7.widget.RecyclerView.LayoutParams generateDefaultLayoutParams(); 60 method protected int getExtraLayoutSpace(android.support.v7.widget.RecyclerView.State); 61 method public int getOrientation(); 62 method public boolean getRecycleChildrenOnDetach(); 63 method public boolean getReverseLayout(); 64 method public boolean getStackFromEnd(); 65 method protected boolean isLayoutRTL(); 66 method public boolean isSmoothScrollbarEnabled(); 67 method public void scrollToPositionWithOffset(int, int); 68 method public void setOrientation(int); 69 method public void setRecycleChildrenOnDetach(boolean); 70 method public void setReverseLayout(boolean); 71 method public void setSmoothScrollbarEnabled(boolean); 72 method public void setStackFromEnd(boolean); 73 field public static final int HORIZONTAL = 0; // 0x0 74 field public static final int INVALID_OFFSET = -2147483648; // 0x80000000 75 field public static final int VERTICAL = 1; // 0x1 76 } 77 78 protected static class LinearLayoutManager.LayoutChunkResult { 79 ctor protected LinearLayoutManager.LayoutChunkResult(); 80 field public int mConsumed; 81 field public boolean mFinished; 82 field public boolean mFocusable; 83 field public boolean mIgnoreConsumed; 84 } 85 86 public abstract class LinearSmoothScroller extends android.support.v7.widget.RecyclerView.SmoothScroller { 87 ctor public LinearSmoothScroller(android.content.Context); 88 method public int calculateDtToFit(int, int, int, int, int); 89 method public int calculateDxToMakeVisible(android.view.View, int); 90 method public int calculateDyToMakeVisible(android.view.View, int); 91 method protected float calculateSpeedPerPixel(android.util.DisplayMetrics); 92 method protected int calculateTimeForDeceleration(int); 93 method protected int calculateTimeForScrolling(int); 94 method public abstract android.graphics.PointF computeScrollVectorForPosition(int); 95 method protected int getHorizontalSnapPreference(); 96 method protected int getVerticalSnapPreference(); 97 method protected void onSeekTargetStep(int, int, android.support.v7.widget.RecyclerView.State, android.support.v7.widget.RecyclerView.SmoothScroller.Action); 98 method protected void onStart(); 99 method protected void onStop(); 100 method protected void onTargetFound(android.view.View, android.support.v7.widget.RecyclerView.State, android.support.v7.widget.RecyclerView.SmoothScroller.Action); 101 method protected void updateActionForInterimTarget(android.support.v7.widget.RecyclerView.SmoothScroller.Action); 102 field public static final int SNAP_TO_ANY = 0; // 0x0 103 field public static final int SNAP_TO_END = 1; // 0x1 104 field public static final int SNAP_TO_START = -1; // 0xffffffff 105 field protected final android.view.animation.DecelerateInterpolator mDecelerateInterpolator; 106 field protected int mInterimTargetDx; 107 field protected int mInterimTargetDy; 108 field protected final android.view.animation.LinearInterpolator mLinearInterpolator; 109 field protected android.graphics.PointF mTargetVector; 110 } 111 112 public abstract class OrientationHelper { 113 method public static android.support.v7.widget.OrientationHelper createHorizontalHelper(android.support.v7.widget.RecyclerView.LayoutManager); 114 method public static android.support.v7.widget.OrientationHelper createOrientationHelper(android.support.v7.widget.RecyclerView.LayoutManager, int); 115 method public static android.support.v7.widget.OrientationHelper createVerticalHelper(android.support.v7.widget.RecyclerView.LayoutManager); 116 method public abstract int getDecoratedEnd(android.view.View); 117 method public abstract int getDecoratedMeasurement(android.view.View); 118 method public abstract int getDecoratedMeasurementInOther(android.view.View); 119 method public abstract int getDecoratedStart(android.view.View); 120 method public abstract int getEnd(); 121 method public abstract int getEndAfterPadding(); 122 method public abstract int getEndPadding(); 123 method public abstract int getStartAfterPadding(); 124 method public abstract int getTotalSpace(); 125 method public int getTotalSpaceChange(); 126 method public abstract void offsetChild(android.view.View, int); 127 method public abstract void offsetChildren(int); 128 method public void onLayoutComplete(); 129 field public static final int HORIZONTAL = 0; // 0x0 130 field public static final int VERTICAL = 1; // 0x1 131 field protected final android.support.v7.widget.RecyclerView.LayoutManager mLayoutManager; 132 } 133 134 public class RecyclerView extends android.view.ViewGroup { 135 ctor public RecyclerView(android.content.Context); 136 ctor public RecyclerView(android.content.Context, android.util.AttributeSet); 137 ctor public RecyclerView(android.content.Context, android.util.AttributeSet, int); 138 method public void addItemDecoration(android.support.v7.widget.RecyclerView.ItemDecoration, int); 139 method public void addItemDecoration(android.support.v7.widget.RecyclerView.ItemDecoration); 140 method public void addOnItemTouchListener(android.support.v7.widget.RecyclerView.OnItemTouchListener); 141 method public android.view.View findChildViewUnder(float, float); 142 method public android.support.v7.widget.RecyclerView.ViewHolder findViewHolderForAdapterPosition(int); 143 method public android.support.v7.widget.RecyclerView.ViewHolder findViewHolderForItemId(long); 144 method public android.support.v7.widget.RecyclerView.ViewHolder findViewHolderForLayoutPosition(int); 145 method public deprecated android.support.v7.widget.RecyclerView.ViewHolder findViewHolderForPosition(int); 146 method public boolean fling(int, int); 147 method public android.support.v7.widget.RecyclerView.Adapter getAdapter(); 148 method public int getChildAdapterPosition(android.view.View); 149 method public long getChildItemId(android.view.View); 150 method public int getChildLayoutPosition(android.view.View); 151 method public deprecated int getChildPosition(android.view.View); 152 method public android.support.v7.widget.RecyclerView.ViewHolder getChildViewHolder(android.view.View); 153 method public android.support.v7.widget.RecyclerViewAccessibilityDelegate getCompatAccessibilityDelegate(); 154 method public android.support.v7.widget.RecyclerView.ItemAnimator getItemAnimator(); 155 method public android.support.v7.widget.RecyclerView.LayoutManager getLayoutManager(); 156 method public android.support.v7.widget.RecyclerView.RecycledViewPool getRecycledViewPool(); 157 method public int getScrollState(); 158 method public boolean hasFixedSize(); 159 method public void invalidateItemDecorations(); 160 method public void offsetChildrenHorizontal(int); 161 method public void offsetChildrenVertical(int); 162 method public void onChildAttachedToWindow(android.view.View); 163 method public void onChildDetachedFromWindow(android.view.View); 164 method public void onDraw(android.graphics.Canvas); 165 method protected void onLayout(boolean, int, int, int, int); 166 method public void removeItemDecoration(android.support.v7.widget.RecyclerView.ItemDecoration); 167 method public void removeOnItemTouchListener(android.support.v7.widget.RecyclerView.OnItemTouchListener); 168 method public void scrollToPosition(int); 169 method public void setAccessibilityDelegateCompat(android.support.v7.widget.RecyclerViewAccessibilityDelegate); 170 method public void setAdapter(android.support.v7.widget.RecyclerView.Adapter); 171 method public void setHasFixedSize(boolean); 172 method public void setItemAnimator(android.support.v7.widget.RecyclerView.ItemAnimator); 173 method public void setItemViewCacheSize(int); 174 method public void setLayoutManager(android.support.v7.widget.RecyclerView.LayoutManager); 175 method public void setOnScrollListener(android.support.v7.widget.RecyclerView.OnScrollListener); 176 method public void setRecycledViewPool(android.support.v7.widget.RecyclerView.RecycledViewPool); 177 method public void setRecyclerListener(android.support.v7.widget.RecyclerView.RecyclerListener); 178 method public void setScrollingTouchSlop(int); 179 method public void setViewCacheExtension(android.support.v7.widget.RecyclerView.ViewCacheExtension); 180 method public void smoothScrollBy(int, int); 181 method public void smoothScrollToPosition(int); 182 method public void stopScroll(); 183 method public void swapAdapter(android.support.v7.widget.RecyclerView.Adapter, boolean); 184 field public static final int HORIZONTAL = 0; // 0x0 185 field public static final int INVALID_TYPE = -1; // 0xffffffff 186 field public static final long NO_ID = -1L; // 0xffffffffffffffffL 187 field public static final int NO_POSITION = -1; // 0xffffffff 188 field public static final int SCROLL_STATE_DRAGGING = 1; // 0x1 189 field public static final int SCROLL_STATE_IDLE = 0; // 0x0 190 field public static final int SCROLL_STATE_SETTLING = 2; // 0x2 191 field public static final int TOUCH_SLOP_DEFAULT = 0; // 0x0 192 field public static final int TOUCH_SLOP_PAGING = 1; // 0x1 193 field public static final int VERTICAL = 1; // 0x1 194 } 195 196 public static abstract class RecyclerView.Adapter { 197 ctor public RecyclerView.Adapter(); 198 method public final void bindViewHolder(VH, int); 199 method public final VH createViewHolder(android.view.ViewGroup, int); 200 method public abstract int getItemCount(); 201 method public long getItemId(int); 202 method public int getItemViewType(int); 203 method public final boolean hasObservers(); 204 method public final boolean hasStableIds(); 205 method public final void notifyDataSetChanged(); 206 method public final void notifyItemChanged(int); 207 method public final void notifyItemInserted(int); 208 method public final void notifyItemMoved(int, int); 209 method public final void notifyItemRangeChanged(int, int); 210 method public final void notifyItemRangeInserted(int, int); 211 method public final void notifyItemRangeRemoved(int, int); 212 method public final void notifyItemRemoved(int); 213 method public void onAttachedToRecyclerView(android.support.v7.widget.RecyclerView); 214 method public abstract void onBindViewHolder(VH, int); 215 method public abstract VH onCreateViewHolder(android.view.ViewGroup, int); 216 method public void onDetachedFromRecyclerView(android.support.v7.widget.RecyclerView); 217 method public boolean onFailedToRecycleView(VH); 218 method public void onViewAttachedToWindow(VH); 219 method public void onViewDetachedFromWindow(VH); 220 method public void onViewRecycled(VH); 221 method public void registerAdapterDataObserver(android.support.v7.widget.RecyclerView.AdapterDataObserver); 222 method public void setHasStableIds(boolean); 223 method public void unregisterAdapterDataObserver(android.support.v7.widget.RecyclerView.AdapterDataObserver); 224 } 225 226 public static abstract class RecyclerView.AdapterDataObserver { 227 ctor public RecyclerView.AdapterDataObserver(); 228 method public void onChanged(); 229 method public void onItemRangeChanged(int, int); 230 method public void onItemRangeInserted(int, int); 231 method public void onItemRangeMoved(int, int, int); 232 method public void onItemRangeRemoved(int, int); 233 } 234 235 public static abstract class RecyclerView.ItemAnimator { 236 ctor public RecyclerView.ItemAnimator(); 237 method public abstract boolean animateAdd(android.support.v7.widget.RecyclerView.ViewHolder); 238 method public abstract boolean animateChange(android.support.v7.widget.RecyclerView.ViewHolder, android.support.v7.widget.RecyclerView.ViewHolder, int, int, int, int); 239 method public abstract boolean animateMove(android.support.v7.widget.RecyclerView.ViewHolder, int, int, int, int); 240 method public abstract boolean animateRemove(android.support.v7.widget.RecyclerView.ViewHolder); 241 method public final void dispatchAddFinished(android.support.v7.widget.RecyclerView.ViewHolder); 242 method public final void dispatchAddStarting(android.support.v7.widget.RecyclerView.ViewHolder); 243 method public final void dispatchAnimationsFinished(); 244 method public final void dispatchChangeFinished(android.support.v7.widget.RecyclerView.ViewHolder, boolean); 245 method public final void dispatchChangeStarting(android.support.v7.widget.RecyclerView.ViewHolder, boolean); 246 method public final void dispatchMoveFinished(android.support.v7.widget.RecyclerView.ViewHolder); 247 method public final void dispatchMoveStarting(android.support.v7.widget.RecyclerView.ViewHolder); 248 method public final void dispatchRemoveFinished(android.support.v7.widget.RecyclerView.ViewHolder); 249 method public final void dispatchRemoveStarting(android.support.v7.widget.RecyclerView.ViewHolder); 250 method public abstract void endAnimation(android.support.v7.widget.RecyclerView.ViewHolder); 251 method public abstract void endAnimations(); 252 method public long getAddDuration(); 253 method public long getChangeDuration(); 254 method public long getMoveDuration(); 255 method public long getRemoveDuration(); 256 method public boolean getSupportsChangeAnimations(); 257 method public abstract boolean isRunning(); 258 method public final boolean isRunning(android.support.v7.widget.RecyclerView.ItemAnimator.ItemAnimatorFinishedListener); 259 method public void onAddFinished(android.support.v7.widget.RecyclerView.ViewHolder); 260 method public void onAddStarting(android.support.v7.widget.RecyclerView.ViewHolder); 261 method public void onChangeFinished(android.support.v7.widget.RecyclerView.ViewHolder, boolean); 262 method public void onChangeStarting(android.support.v7.widget.RecyclerView.ViewHolder, boolean); 263 method public void onMoveFinished(android.support.v7.widget.RecyclerView.ViewHolder); 264 method public void onMoveStarting(android.support.v7.widget.RecyclerView.ViewHolder); 265 method public void onRemoveFinished(android.support.v7.widget.RecyclerView.ViewHolder); 266 method public void onRemoveStarting(android.support.v7.widget.RecyclerView.ViewHolder); 267 method public abstract void runPendingAnimations(); 268 method public void setAddDuration(long); 269 method public void setChangeDuration(long); 270 method public void setMoveDuration(long); 271 method public void setRemoveDuration(long); 272 method public void setSupportsChangeAnimations(boolean); 273 } 274 275 public static abstract interface RecyclerView.ItemAnimator.ItemAnimatorFinishedListener { 276 method public abstract void onAnimationsFinished(); 277 } 278 279 public static abstract class RecyclerView.ItemDecoration { 280 ctor public RecyclerView.ItemDecoration(); 281 method public deprecated void getItemOffsets(android.graphics.Rect, int, android.support.v7.widget.RecyclerView); 282 method public void getItemOffsets(android.graphics.Rect, android.view.View, android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.State); 283 method public void onDraw(android.graphics.Canvas, android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.State); 284 method public deprecated void onDraw(android.graphics.Canvas, android.support.v7.widget.RecyclerView); 285 method public void onDrawOver(android.graphics.Canvas, android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.State); 286 method public deprecated void onDrawOver(android.graphics.Canvas, android.support.v7.widget.RecyclerView); 287 } 288 289 public static abstract class RecyclerView.LayoutManager { 290 ctor public RecyclerView.LayoutManager(); 291 method public void addDisappearingView(android.view.View); 292 method public void addDisappearingView(android.view.View, int); 293 method public void addView(android.view.View); 294 method public void addView(android.view.View, int); 295 method public void assertInLayoutOrScroll(java.lang.String); 296 method public void assertNotInLayoutOrScroll(java.lang.String); 297 method public void attachView(android.view.View, int, android.support.v7.widget.RecyclerView.LayoutParams); 298 method public void attachView(android.view.View, int); 299 method public void attachView(android.view.View); 300 method public void calculateItemDecorationsForChild(android.view.View, android.graphics.Rect); 301 method public boolean canScrollHorizontally(); 302 method public boolean canScrollVertically(); 303 method public boolean checkLayoutParams(android.support.v7.widget.RecyclerView.LayoutParams); 304 method public int computeHorizontalScrollExtent(android.support.v7.widget.RecyclerView.State); 305 method public int computeHorizontalScrollOffset(android.support.v7.widget.RecyclerView.State); 306 method public int computeHorizontalScrollRange(android.support.v7.widget.RecyclerView.State); 307 method public int computeVerticalScrollExtent(android.support.v7.widget.RecyclerView.State); 308 method public int computeVerticalScrollOffset(android.support.v7.widget.RecyclerView.State); 309 method public int computeVerticalScrollRange(android.support.v7.widget.RecyclerView.State); 310 method public void detachAndScrapAttachedViews(android.support.v7.widget.RecyclerView.Recycler); 311 method public void detachAndScrapView(android.view.View, android.support.v7.widget.RecyclerView.Recycler); 312 method public void detachAndScrapViewAt(int, android.support.v7.widget.RecyclerView.Recycler); 313 method public void detachView(android.view.View); 314 method public void detachViewAt(int); 315 method public void endAnimation(android.view.View); 316 method public android.view.View findViewByPosition(int); 317 method public abstract android.support.v7.widget.RecyclerView.LayoutParams generateDefaultLayoutParams(); 318 method public android.support.v7.widget.RecyclerView.LayoutParams generateLayoutParams(android.view.ViewGroup.LayoutParams); 319 method public android.support.v7.widget.RecyclerView.LayoutParams generateLayoutParams(android.content.Context, android.util.AttributeSet); 320 method public int getBottomDecorationHeight(android.view.View); 321 method public android.view.View getChildAt(int); 322 method public int getChildCount(); 323 method public static int getChildMeasureSpec(int, int, int, boolean); 324 method public boolean getClipToPadding(); 325 method public int getColumnCountForAccessibility(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State); 326 method public int getDecoratedBottom(android.view.View); 327 method public int getDecoratedLeft(android.view.View); 328 method public int getDecoratedMeasuredHeight(android.view.View); 329 method public int getDecoratedMeasuredWidth(android.view.View); 330 method public int getDecoratedRight(android.view.View); 331 method public int getDecoratedTop(android.view.View); 332 method public android.view.View getFocusedChild(); 333 method public int getHeight(); 334 method public int getItemCount(); 335 method public int getItemViewType(android.view.View); 336 method public int getLayoutDirection(); 337 method public int getLeftDecorationWidth(android.view.View); 338 method public int getMinimumHeight(); 339 method public int getMinimumWidth(); 340 method public int getPaddingBottom(); 341 method public int getPaddingEnd(); 342 method public int getPaddingLeft(); 343 method public int getPaddingRight(); 344 method public int getPaddingStart(); 345 method public int getPaddingTop(); 346 method public int getPosition(android.view.View); 347 method public int getRightDecorationWidth(android.view.View); 348 method public int getRowCountForAccessibility(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State); 349 method public int getSelectionModeForAccessibility(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State); 350 method public int getTopDecorationHeight(android.view.View); 351 method public int getWidth(); 352 method public boolean hasFocus(); 353 method public void ignoreView(android.view.View); 354 method public boolean isFocused(); 355 method public boolean isLayoutHierarchical(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State); 356 method public boolean isSmoothScrolling(); 357 method public void layoutDecorated(android.view.View, int, int, int, int); 358 method public void measureChild(android.view.View, int, int); 359 method public void measureChildWithMargins(android.view.View, int, int); 360 method public void moveView(int, int); 361 method public void offsetChildrenHorizontal(int); 362 method public void offsetChildrenVertical(int); 363 method public void onAdapterChanged(android.support.v7.widget.RecyclerView.Adapter, android.support.v7.widget.RecyclerView.Adapter); 364 method public boolean onAddFocusables(android.support.v7.widget.RecyclerView, java.util.ArrayList<android.view.View>, int, int); 365 method public void onAttachedToWindow(android.support.v7.widget.RecyclerView); 366 method public deprecated void onDetachedFromWindow(android.support.v7.widget.RecyclerView); 367 method public void onDetachedFromWindow(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.Recycler); 368 method public android.view.View onFocusSearchFailed(android.view.View, int, android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State); 369 method public void onInitializeAccessibilityEvent(android.view.accessibility.AccessibilityEvent); 370 method public void onInitializeAccessibilityEvent(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State, android.view.accessibility.AccessibilityEvent); 371 method public void onInitializeAccessibilityNodeInfo(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat); 372 method public void onInitializeAccessibilityNodeInfoForItem(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State, android.view.View, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat); 373 method public android.view.View onInterceptFocusSearch(android.view.View, int); 374 method public void onItemsAdded(android.support.v7.widget.RecyclerView, int, int); 375 method public void onItemsChanged(android.support.v7.widget.RecyclerView); 376 method public void onItemsMoved(android.support.v7.widget.RecyclerView, int, int, int); 377 method public void onItemsRemoved(android.support.v7.widget.RecyclerView, int, int); 378 method public void onItemsUpdated(android.support.v7.widget.RecyclerView, int, int); 379 method public void onLayoutChildren(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State); 380 method public void onMeasure(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State, int, int); 381 method public deprecated boolean onRequestChildFocus(android.support.v7.widget.RecyclerView, android.view.View, android.view.View); 382 method public boolean onRequestChildFocus(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.State, android.view.View, android.view.View); 383 method public void onRestoreInstanceState(android.os.Parcelable); 384 method public android.os.Parcelable onSaveInstanceState(); 385 method public void onScrollStateChanged(int); 386 method public boolean performAccessibilityAction(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State, int, android.os.Bundle); 387 method public boolean performAccessibilityActionForItem(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State, android.view.View, int, android.os.Bundle); 388 method public void removeAllViews(); 389 method public void removeAndRecycleAllViews(android.support.v7.widget.RecyclerView.Recycler); 390 method public void removeAndRecycleView(android.view.View, android.support.v7.widget.RecyclerView.Recycler); 391 method public void removeAndRecycleViewAt(int, android.support.v7.widget.RecyclerView.Recycler); 392 method public void removeDetachedView(android.view.View); 393 method public void removeView(android.view.View); 394 method public void removeViewAt(int); 395 method public boolean requestChildRectangleOnScreen(android.support.v7.widget.RecyclerView, android.view.View, android.graphics.Rect, boolean); 396 method public void requestLayout(); 397 method public void requestSimpleAnimationsInNextLayout(); 398 method public int scrollHorizontallyBy(int, android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State); 399 method public void scrollToPosition(int); 400 method public int scrollVerticallyBy(int, android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State); 401 method public void setMeasuredDimension(int, int); 402 method public void smoothScrollToPosition(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.State, int); 403 method public void startSmoothScroll(android.support.v7.widget.RecyclerView.SmoothScroller); 404 method public void stopIgnoringView(android.view.View); 405 method public boolean supportsPredictiveItemAnimations(); 406 } 407 408 public static class RecyclerView.LayoutParams extends android.view.ViewGroup.MarginLayoutParams { 409 ctor public RecyclerView.LayoutParams(android.content.Context, android.util.AttributeSet); 410 ctor public RecyclerView.LayoutParams(int, int); 411 ctor public RecyclerView.LayoutParams(android.view.ViewGroup.MarginLayoutParams); 412 ctor public RecyclerView.LayoutParams(android.view.ViewGroup.LayoutParams); 413 ctor public RecyclerView.LayoutParams(android.support.v7.widget.RecyclerView.LayoutParams); 414 method public int getViewAdapterPosition(); 415 method public int getViewLayoutPosition(); 416 method public deprecated int getViewPosition(); 417 method public boolean isItemChanged(); 418 method public boolean isItemRemoved(); 419 method public boolean isViewInvalid(); 420 method public boolean viewNeedsUpdate(); 421 } 422 423 public static abstract interface RecyclerView.OnItemTouchListener { 424 method public abstract boolean onInterceptTouchEvent(android.support.v7.widget.RecyclerView, android.view.MotionEvent); 425 method public abstract void onTouchEvent(android.support.v7.widget.RecyclerView, android.view.MotionEvent); 426 } 427 428 public static abstract class RecyclerView.OnScrollListener { 429 ctor public RecyclerView.OnScrollListener(); 430 method public void onScrollStateChanged(android.support.v7.widget.RecyclerView, int); 431 method public void onScrolled(android.support.v7.widget.RecyclerView, int, int); 432 } 433 434 public static class RecyclerView.RecycledViewPool { 435 ctor public RecyclerView.RecycledViewPool(); 436 method public void clear(); 437 method public android.support.v7.widget.RecyclerView.ViewHolder getRecycledView(int); 438 method public void putRecycledView(android.support.v7.widget.RecyclerView.ViewHolder); 439 method public void setMaxRecycledViews(int, int); 440 } 441 442 public final class RecyclerView.Recycler { 443 ctor public RecyclerView.Recycler(); 444 method public void bindViewToPosition(android.view.View, int); 445 method public void clear(); 446 method public int convertPreLayoutPositionToPostLayout(int); 447 method public java.util.List<android.support.v7.widget.RecyclerView.ViewHolder> getScrapList(); 448 method public android.view.View getViewForPosition(int); 449 method public void recycleView(android.view.View); 450 method public void setViewCacheSize(int); 451 } 452 453 public static abstract interface RecyclerView.RecyclerListener { 454 method public abstract void onViewRecycled(android.support.v7.widget.RecyclerView.ViewHolder); 455 } 456 457 public static abstract class RecyclerView.SmoothScroller { 458 ctor public RecyclerView.SmoothScroller(); 459 method public android.view.View findViewByPosition(int); 460 method public int getChildCount(); 461 method public int getChildPosition(android.view.View); 462 method public android.support.v7.widget.RecyclerView.LayoutManager getLayoutManager(); 463 method public int getTargetPosition(); 464 method public void instantScrollToPosition(int); 465 method public boolean isPendingInitialRun(); 466 method public boolean isRunning(); 467 method protected void normalize(android.graphics.PointF); 468 method protected void onChildAttachedToWindow(android.view.View); 469 method protected abstract void onSeekTargetStep(int, int, android.support.v7.widget.RecyclerView.State, android.support.v7.widget.RecyclerView.SmoothScroller.Action); 470 method protected abstract void onStart(); 471 method protected abstract void onStop(); 472 method protected abstract void onTargetFound(android.view.View, android.support.v7.widget.RecyclerView.State, android.support.v7.widget.RecyclerView.SmoothScroller.Action); 473 method public void setTargetPosition(int); 474 method protected final void stop(); 475 } 476 477 public static class RecyclerView.SmoothScroller.Action { 478 ctor public RecyclerView.SmoothScroller.Action(int, int); 479 ctor public RecyclerView.SmoothScroller.Action(int, int, int); 480 ctor public RecyclerView.SmoothScroller.Action(int, int, int, android.view.animation.Interpolator); 481 method public int getDuration(); 482 method public int getDx(); 483 method public int getDy(); 484 method public android.view.animation.Interpolator getInterpolator(); 485 method public void setDuration(int); 486 method public void setDx(int); 487 method public void setDy(int); 488 method public void setInterpolator(android.view.animation.Interpolator); 489 method public void update(int, int, int, android.view.animation.Interpolator); 490 field public static final int UNDEFINED_DURATION = -2147483648; // 0x80000000 491 } 492 493 public static class RecyclerView.State { 494 ctor public RecyclerView.State(); 495 method public boolean didStructureChange(); 496 method public T get(int); 497 method public int getItemCount(); 498 method public int getTargetScrollPosition(); 499 method public boolean hasTargetScrollPosition(); 500 method public boolean isPreLayout(); 501 method public void onViewIgnored(android.support.v7.widget.RecyclerView.ViewHolder); 502 method public void onViewRecycled(android.support.v7.widget.RecyclerView.ViewHolder); 503 method public void put(int, java.lang.Object); 504 method public void remove(int); 505 method public boolean willRunPredictiveAnimations(); 506 method public boolean willRunSimpleAnimations(); 507 } 508 509 public static abstract class RecyclerView.ViewCacheExtension { 510 ctor public RecyclerView.ViewCacheExtension(); 511 method public abstract android.view.View getViewForPositionAndType(android.support.v7.widget.RecyclerView.Recycler, int, int); 512 } 513 514 public static abstract class RecyclerView.ViewHolder { 515 ctor public RecyclerView.ViewHolder(android.view.View); 516 method public final int getAdapterPosition(); 517 method public final long getItemId(); 518 method public final int getItemViewType(); 519 method public final int getLayoutPosition(); 520 method public final int getOldPosition(); 521 method public final deprecated int getPosition(); 522 method public final boolean isRecyclable(); 523 method public final void setIsRecyclable(boolean); 524 field public final android.view.View itemView; 525 } 526 527 public class RecyclerViewAccessibilityDelegate extends android.support.v4.view.AccessibilityDelegateCompat { 528 ctor public RecyclerViewAccessibilityDelegate(android.support.v7.widget.RecyclerView); 529 } 530 531 public class StaggeredGridLayoutManager extends android.support.v7.widget.RecyclerView.LayoutManager { 532 ctor public StaggeredGridLayoutManager(int, int); 533 method public int[] findFirstCompletelyVisibleItemPositions(int[]); 534 method public int[] findFirstVisibleItemPositions(int[]); 535 method public int[] findLastCompletelyVisibleItemPositions(int[]); 536 method public int[] findLastVisibleItemPositions(int[]); 537 method public android.support.v7.widget.RecyclerView.LayoutParams generateDefaultLayoutParams(); 538 method public int getGapStrategy(); 539 method public int getOrientation(); 540 method public boolean getReverseLayout(); 541 method public int getSpanCount(); 542 method public void invalidateSpanAssignments(); 543 method public void scrollToPositionWithOffset(int, int); 544 method public void setGapStrategy(int); 545 method public void setOrientation(int); 546 method public void setReverseLayout(boolean); 547 method public void setSpanCount(int); 548 field public static final deprecated int GAP_HANDLING_LAZY = 1; // 0x1 549 field public static final int GAP_HANDLING_MOVE_ITEMS_BETWEEN_SPANS = 2; // 0x2 550 field public static final int GAP_HANDLING_NONE = 0; // 0x0 551 field public static final int HORIZONTAL = 0; // 0x0 552 field public static final java.lang.String TAG = "StaggeredGridLayoutManager"; 553 field public static final int VERTICAL = 1; // 0x1 554 } 555 556 public static class StaggeredGridLayoutManager.LayoutParams extends android.support.v7.widget.RecyclerView.LayoutParams { 557 ctor public StaggeredGridLayoutManager.LayoutParams(android.content.Context, android.util.AttributeSet); 558 ctor public StaggeredGridLayoutManager.LayoutParams(int, int); 559 ctor public StaggeredGridLayoutManager.LayoutParams(android.view.ViewGroup.MarginLayoutParams); 560 ctor public StaggeredGridLayoutManager.LayoutParams(android.view.ViewGroup.LayoutParams); 561 ctor public StaggeredGridLayoutManager.LayoutParams(android.support.v7.widget.RecyclerView.LayoutParams); 562 method public final int getSpanIndex(); 563 method public boolean isFullSpan(); 564 method public void setFullSpan(boolean); 565 field public static final int INVALID_SPAN_ID = -1; // 0xffffffff 566 } 567 568 } 569 570