package android.support.v7.util {
public class AsyncListUtil<T> {
ctor public AsyncListUtil(java.lang.Class<T>, int, android.support.v7.util.AsyncListUtil.DataCallback<T>, android.support.v7.util.AsyncListUtil.ViewCallback);
method public T getItem(int);
method public int getItemCount();
method public void onRangeChanged();
method public void refresh();
}
public static abstract class AsyncListUtil.DataCallback<T> {
ctor public AsyncListUtil.DataCallback();
method public abstract void fillData(T[], int, int);
method public int getMaxCachedTiles();
method public void recycleData(T[], int);
method public abstract int refreshData();
}
public static abstract class AsyncListUtil.ViewCallback {
ctor public AsyncListUtil.ViewCallback();
method public void extendRangeInto(int[], int[], int);
method public abstract void getItemRangeInto(int[]);
method public abstract void onDataRefresh();
method public abstract void onItemLoaded(int);
field public static final int HINT_SCROLL_ASC = 2; // 0x2
field public static final int HINT_SCROLL_DESC = 1; // 0x1
field public static final int HINT_SCROLL_NONE = 0; // 0x0
}
public class BatchingListUpdateCallback implements android.support.v7.util.ListUpdateCallback {
ctor public BatchingListUpdateCallback(android.support.v7.util.ListUpdateCallback);
method public void dispatchLastEvent();
method public void onChanged(int, int, java.lang.Object);
method public void onInserted(int, int);
method public void onMoved(int, int);
method public void onRemoved(int, int);
}
public class DiffUtil {
method public static android.support.v7.util.DiffUtil.DiffResult calculateDiff(android.support.v7.util.DiffUtil.Callback);
method public static android.support.v7.util.DiffUtil.DiffResult calculateDiff(android.support.v7.util.DiffUtil.Callback, boolean);
}
public static abstract class DiffUtil.Callback {
ctor public DiffUtil.Callback();
method public abstract boolean areContentsTheSame(int, int);
method public abstract boolean areItemsTheSame(int, int);
method public java.lang.Object getChangePayload(int, int);
method public abstract int getNewListSize();
method public abstract int getOldListSize();
}
public static class DiffUtil.DiffResult {
method public void dispatchUpdatesTo(android.support.v7.widget.RecyclerView.Adapter);
method public void dispatchUpdatesTo(android.support.v7.util.ListUpdateCallback);
}
public abstract interface ListUpdateCallback {
method public abstract void onChanged(int, int, java.lang.Object);
method public abstract void onInserted(int, int);
method public abstract void onMoved(int, int);
method public abstract void onRemoved(int, int);
}
public class SortedList<T> {
ctor public SortedList(java.lang.Class<T>, android.support.v7.util.SortedList.Callback<T>);
ctor public SortedList(java.lang.Class<T>, android.support.v7.util.SortedList.Callback<T>, int);
method public int add(T);
method public void addAll(T[], boolean);
method public void addAll(T...);
method public void addAll(java.util.Collection<T>);
method public void beginBatchedUpdates();
method public void clear();
method public void endBatchedUpdates();
method public T get(int) throws java.lang.IndexOutOfBoundsException;
method public int indexOf(T);
method public void recalculatePositionOfItemAt(int);
method public boolean remove(T);
method public T removeItemAt(int);
method public int size();
method public void updateItemAt(int, T);
field public static final int INVALID_POSITION = -1; // 0xffffffff
}
public static class SortedList.BatchedCallback<T2> extends android.support.v7.util.SortedList.Callback {
ctor public SortedList.BatchedCallback(android.support.v7.util.SortedList.Callback<T2>);
method public boolean areContentsTheSame(T2, T2);
method public boolean areItemsTheSame(T2, T2);
method public int compare(T2, T2);
method public void dispatchLastEvent();
method public void onChanged(int, int);
method public void onInserted(int, int);
method public void onMoved(int, int);
method public void onRemoved(int, int);
}
public static abstract class SortedList.Callback<T2> implements java.util.Comparator android.support.v7.util.ListUpdateCallback {
ctor public SortedList.Callback();
method public abstract boolean areContentsTheSame(T2, T2);
method public abstract boolean areItemsTheSame(T2, T2);
method public abstract int compare(T2, T2);
method public abstract void onChanged(int, int);
method public void onChanged(int, int, java.lang.Object);
}
}
package android.support.v7.widget {
public class DefaultItemAnimator extends android.support.v7.widget.SimpleItemAnimator {
ctor public DefaultItemAnimator();
method public boolean animateAdd(android.support.v7.widget.RecyclerView.ViewHolder);
method public boolean animateChange(android.support.v7.widget.RecyclerView.ViewHolder, android.support.v7.widget.RecyclerView.ViewHolder, int, int, int, int);
method public boolean animateMove(android.support.v7.widget.RecyclerView.ViewHolder, int, int, int, int);
method public boolean animateRemove(android.support.v7.widget.RecyclerView.ViewHolder);
method public void endAnimation(android.support.v7.widget.RecyclerView.ViewHolder);
method public void endAnimations();
method public boolean isRunning();
method public void runPendingAnimations();
}
public class DividerItemDecoration extends android.support.v7.widget.RecyclerView.ItemDecoration {
ctor public DividerItemDecoration(android.content.Context, int);
method public void setDrawable(android.graphics.drawable.Drawable);
method public void setOrientation(int);
field public static final int HORIZONTAL = 0; // 0x0
field public static final int VERTICAL = 1; // 0x1
}
public class GridLayoutManager extends android.support.v7.widget.LinearLayoutManager {
ctor public GridLayoutManager(android.content.Context, android.util.AttributeSet, int, int);
ctor public GridLayoutManager(android.content.Context, int);
ctor public GridLayoutManager(android.content.Context, int, int, boolean);
method public int getSpanCount();
method public android.support.v7.widget.GridLayoutManager.SpanSizeLookup getSpanSizeLookup();
method public void setSpanCount(int);
method public void setSpanSizeLookup(android.support.v7.widget.GridLayoutManager.SpanSizeLookup);
field public static final int DEFAULT_SPAN_COUNT = -1; // 0xffffffff
}
public static final class GridLayoutManager.DefaultSpanSizeLookup extends android.support.v7.widget.GridLayoutManager.SpanSizeLookup {
ctor public GridLayoutManager.DefaultSpanSizeLookup();
method public int getSpanSize(int);
}
public static class GridLayoutManager.LayoutParams extends android.support.v7.widget.RecyclerView.LayoutParams {
ctor public GridLayoutManager.LayoutParams(android.content.Context, android.util.AttributeSet);
ctor public GridLayoutManager.LayoutParams(int, int);
ctor public GridLayoutManager.LayoutParams(android.view.ViewGroup.MarginLayoutParams);
ctor public GridLayoutManager.LayoutParams(android.view.ViewGroup.LayoutParams);
ctor public GridLayoutManager.LayoutParams(android.support.v7.widget.RecyclerView.LayoutParams);
method public int getSpanIndex();
method public int getSpanSize();
field public static final int INVALID_SPAN_ID = -1; // 0xffffffff
}
public static abstract class GridLayoutManager.SpanSizeLookup {
ctor public GridLayoutManager.SpanSizeLookup();
method public int getSpanGroupIndex(int, int);
method public int getSpanIndex(int, int);
method public abstract int getSpanSize(int);
method public void invalidateSpanIndexCache();
method public boolean isSpanIndexCacheEnabled();
method public void setSpanIndexCacheEnabled(boolean);
}
public class LinearLayoutManager extends android.support.v7.widget.RecyclerView.LayoutManager implements android.support.v7.widget.helper.ItemTouchHelper.ViewDropHandler android.support.v7.widget.RecyclerView.SmoothScroller.ScrollVectorProvider {
ctor public LinearLayoutManager(android.content.Context);
ctor public LinearLayoutManager(android.content.Context, int, boolean);
ctor public LinearLayoutManager(android.content.Context, android.util.AttributeSet, int, int);
method public android.graphics.PointF computeScrollVectorForPosition(int);
method public int findFirstCompletelyVisibleItemPosition();
method public int findFirstVisibleItemPosition();
method public int findLastCompletelyVisibleItemPosition();
method public int findLastVisibleItemPosition();
method public android.support.v7.widget.RecyclerView.LayoutParams generateDefaultLayoutParams();
method protected int getExtraLayoutSpace(android.support.v7.widget.RecyclerView.State);
method public int getInitialPrefetchItemCount();
method public int getOrientation();
method public boolean getRecycleChildrenOnDetach();
method public boolean getReverseLayout();
method public boolean getStackFromEnd();
method protected boolean isLayoutRTL();
method public boolean isSmoothScrollbarEnabled();
method public void scrollToPositionWithOffset(int, int);
method public void setInitialPrefetchItemCount(int);
method public void setOrientation(int);
method public void setRecycleChildrenOnDetach(boolean);
method public void setReverseLayout(boolean);
method public void setSmoothScrollbarEnabled(boolean);
method public void setStackFromEnd(boolean);
field public static final int HORIZONTAL = 0; // 0x0
field public static final int INVALID_OFFSET = -2147483648; // 0x80000000
field public static final int VERTICAL = 1; // 0x1
}
protected static class LinearLayoutManager.LayoutChunkResult {
ctor protected LinearLayoutManager.LayoutChunkResult();
field public int mConsumed;
field public boolean mFinished;
field public boolean mFocusable;
field public boolean mIgnoreConsumed;
}
public class LinearSmoothScroller extends android.support.v7.widget.RecyclerView.SmoothScroller {
ctor public LinearSmoothScroller(android.content.Context);
method public int calculateDtToFit(int, int, int, int, int);
method public int calculateDxToMakeVisible(android.view.View, int);
method public int calculateDyToMakeVisible(android.view.View, int);
method protected float calculateSpeedPerPixel(android.util.DisplayMetrics);
method protected int calculateTimeForDeceleration(int);
method protected int calculateTimeForScrolling(int);
method public android.graphics.PointF computeScrollVectorForPosition(int);
method protected int getHorizontalSnapPreference();
method protected int getVerticalSnapPreference();
method protected void onSeekTargetStep(int, int, android.support.v7.widget.RecyclerView.State, android.support.v7.widget.RecyclerView.SmoothScroller.Action);
method protected void onStart();
method protected void onStop();
method protected void onTargetFound(android.view.View, android.support.v7.widget.RecyclerView.State, android.support.v7.widget.RecyclerView.SmoothScroller.Action);
method protected void updateActionForInterimTarget(android.support.v7.widget.RecyclerView.SmoothScroller.Action);
field public static final int SNAP_TO_ANY = 0; // 0x0
field public static final int SNAP_TO_END = 1; // 0x1
field public static final int SNAP_TO_START = -1; // 0xffffffff
field protected final android.view.animation.DecelerateInterpolator mDecelerateInterpolator;
field protected int mInterimTargetDx;
field protected int mInterimTargetDy;
field protected final android.view.animation.LinearInterpolator mLinearInterpolator;
field protected android.graphics.PointF mTargetVector;
}
public class LinearSnapHelper extends android.support.v7.widget.SnapHelper {
ctor public LinearSnapHelper();
method public int[] calculateDistanceToFinalSnap(android.support.v7.widget.RecyclerView.LayoutManager, android.view.View);
method public android.view.View findSnapView(android.support.v7.widget.RecyclerView.LayoutManager);
method public int findTargetSnapPosition(android.support.v7.widget.RecyclerView.LayoutManager, int, int);
}
public abstract class OrientationHelper {
method public static android.support.v7.widget.OrientationHelper createHorizontalHelper(android.support.v7.widget.RecyclerView.LayoutManager);
method public static android.support.v7.widget.OrientationHelper createOrientationHelper(android.support.v7.widget.RecyclerView.LayoutManager, int);
method public static android.support.v7.widget.OrientationHelper createVerticalHelper(android.support.v7.widget.RecyclerView.LayoutManager);
method public abstract int getDecoratedEnd(android.view.View);
method public abstract int getDecoratedMeasurement(android.view.View);
method public abstract int getDecoratedMeasurementInOther(android.view.View);
method public abstract int getDecoratedStart(android.view.View);
method public abstract int getEnd();
method public abstract int getEndAfterPadding();
method public abstract int getEndPadding();
method public abstract int getMode();
method public abstract int getModeInOther();
method public abstract int getStartAfterPadding();
method public abstract int getTotalSpace();
method public int getTotalSpaceChange();
method public abstract int getTransformedEndWithDecoration(android.view.View);
method public abstract int getTransformedStartWithDecoration(android.view.View);
method public abstract void offsetChild(android.view.View, int);
method public abstract void offsetChildren(int);
method public void onLayoutComplete();
field public static final int HORIZONTAL = 0; // 0x0
field public static final int VERTICAL = 1; // 0x1
field protected final android.support.v7.widget.RecyclerView.LayoutManager mLayoutManager;
}
public class PagerSnapHelper extends android.support.v7.widget.SnapHelper {
ctor public PagerSnapHelper();
method public int[] calculateDistanceToFinalSnap(android.support.v7.widget.RecyclerView.LayoutManager, android.view.View);
method protected android.support.v7.widget.LinearSmoothScroller createSnapScroller(android.support.v7.widget.RecyclerView.LayoutManager);
method public android.view.View findSnapView(android.support.v7.widget.RecyclerView.LayoutManager);
method public int findTargetSnapPosition(android.support.v7.widget.RecyclerView.LayoutManager, int, int);
}
public class RecyclerView extends android.view.ViewGroup {
ctor public RecyclerView(android.content.Context);
ctor public RecyclerView(android.content.Context, android.util.AttributeSet);
ctor public RecyclerView(android.content.Context, android.util.AttributeSet, int);
method public void addItemDecoration(android.support.v7.widget.RecyclerView.ItemDecoration, int);
method public void addItemDecoration(android.support.v7.widget.RecyclerView.ItemDecoration);
method public void addOnChildAttachStateChangeListener(android.support.v7.widget.RecyclerView.OnChildAttachStateChangeListener);
method public void addOnItemTouchListener(android.support.v7.widget.RecyclerView.OnItemTouchListener);
method public void addOnScrollListener(android.support.v7.widget.RecyclerView.OnScrollListener);
method public void clearOnChildAttachStateChangeListeners();
method public void clearOnScrollListeners();
method public int computeHorizontalScrollExtent();
method public int computeHorizontalScrollOffset();
method public int computeHorizontalScrollRange();
method public int computeVerticalScrollExtent();
method public int computeVerticalScrollOffset();
method public int computeVerticalScrollRange();
method public boolean dispatchNestedPreScroll(int, int, int[], int[], int);
method public boolean dispatchNestedScroll(int, int, int, int, int[], int);
method public boolean drawChild(android.graphics.Canvas, android.view.View, long);
method public android.view.View findChildViewUnder(float, float);
method public android.view.View findContainingItemView(android.view.View);
method public android.support.v7.widget.RecyclerView.ViewHolder findContainingViewHolder(android.view.View);
method public android.support.v7.widget.RecyclerView.ViewHolder findViewHolderForAdapterPosition(int);
method public android.support.v7.widget.RecyclerView.ViewHolder findViewHolderForItemId(long);
method public android.support.v7.widget.RecyclerView.ViewHolder findViewHolderForLayoutPosition(int);
method public deprecated android.support.v7.widget.RecyclerView.ViewHolder findViewHolderForPosition(int);
method public boolean fling(int, int);
method public android.support.v7.widget.RecyclerView.Adapter getAdapter();
method public int getChildAdapterPosition(android.view.View);
method public long getChildItemId(android.view.View);
method public int getChildLayoutPosition(android.view.View);
method public deprecated int getChildPosition(android.view.View);
method public android.support.v7.widget.RecyclerView.ViewHolder getChildViewHolder(android.view.View);
method public android.support.v7.widget.RecyclerViewAccessibilityDelegate getCompatAccessibilityDelegate();
method public void getDecoratedBoundsWithMargins(android.view.View, android.graphics.Rect);
method public android.support.v7.widget.RecyclerView.ItemAnimator getItemAnimator();
method public android.support.v7.widget.RecyclerView.ItemDecoration getItemDecorationAt(int);
method public int getItemDecorationCount();
method public android.support.v7.widget.RecyclerView.LayoutManager getLayoutManager();
method public int getMaxFlingVelocity();
method public int getMinFlingVelocity();
method public android.support.v7.widget.RecyclerView.OnFlingListener getOnFlingListener();
method public boolean getPreserveFocusAfterLayout();
method public android.support.v7.widget.RecyclerView.RecycledViewPool getRecycledViewPool();
method public int getScrollState();
method public boolean hasFixedSize();
method public boolean hasNestedScrollingParent(int);
method public boolean hasPendingAdapterUpdates();
method public void invalidateItemDecorations();
method public boolean isAnimating();
method public boolean isComputingLayout();
method public boolean isLayoutFrozen();
method public void offsetChildrenHorizontal(int);
method public void offsetChildrenVertical(int);
method public void onChildAttachedToWindow(android.view.View);
method public void onChildDetachedFromWindow(android.view.View);
method public void onDraw(android.graphics.Canvas);
method protected void onLayout(boolean, int, int, int, int);
method public void onScrollStateChanged(int);
method public void onScrolled(int, int);
method public void removeItemDecoration(android.support.v7.widget.RecyclerView.ItemDecoration);
method public void removeItemDecorationAt(int);
method public void removeOnChildAttachStateChangeListener(android.support.v7.widget.RecyclerView.OnChildAttachStateChangeListener);
method public void removeOnItemTouchListener(android.support.v7.widget.RecyclerView.OnItemTouchListener);
method public void removeOnScrollListener(android.support.v7.widget.RecyclerView.OnScrollListener);
method public void scrollToPosition(int);
method public void setAccessibilityDelegateCompat(android.support.v7.widget.RecyclerViewAccessibilityDelegate);
method public void setAdapter(android.support.v7.widget.RecyclerView.Adapter);
method public void setChildDrawingOrderCallback(android.support.v7.widget.RecyclerView.ChildDrawingOrderCallback);
method public void setHasFixedSize(boolean);
method public void setItemAnimator(android.support.v7.widget.RecyclerView.ItemAnimator);
method public void setItemViewCacheSize(int);
method public void setLayoutFrozen(boolean);
method public void setLayoutManager(android.support.v7.widget.RecyclerView.LayoutManager);
method public void setOnFlingListener(android.support.v7.widget.RecyclerView.OnFlingListener);
method public deprecated void setOnScrollListener(android.support.v7.widget.RecyclerView.OnScrollListener);
method public void setPreserveFocusAfterLayout(boolean);
method public void setRecycledViewPool(android.support.v7.widget.RecyclerView.RecycledViewPool);
method public void setRecyclerListener(android.support.v7.widget.RecyclerView.RecyclerListener);
method public void setScrollingTouchSlop(int);
method public void setViewCacheExtension(android.support.v7.widget.RecyclerView.ViewCacheExtension);
method public void smoothScrollBy(int, int);
method public void smoothScrollBy(int, int, android.view.animation.Interpolator);
method public void smoothScrollToPosition(int);
method public boolean startNestedScroll(int, int);
method public void stopNestedScroll(int);
method public void stopScroll();
method public void swapAdapter(android.support.v7.widget.RecyclerView.Adapter, boolean);
field public static final int HORIZONTAL = 0; // 0x0
field public static final int INVALID_TYPE = -1; // 0xffffffff
field public static final long NO_ID = -1L; // 0xffffffffffffffffL
field public static final int NO_POSITION = -1; // 0xffffffff
field public static final int SCROLL_STATE_DRAGGING = 1; // 0x1
field public static final int SCROLL_STATE_IDLE = 0; // 0x0
field public static final int SCROLL_STATE_SETTLING = 2; // 0x2
field public static final int TOUCH_SLOP_DEFAULT = 0; // 0x0
field public static final int TOUCH_SLOP_PAGING = 1; // 0x1
field public static final int VERTICAL = 1; // 0x1
}
public static abstract class RecyclerView.Adapter<VH extends android.support.v7.widget.RecyclerView.ViewHolder> {
ctor public RecyclerView.Adapter();
method public final void bindViewHolder(VH, int);
method public final VH createViewHolder(android.view.ViewGroup, int);
method public abstract int getItemCount();
method public long getItemId(int);
method public int getItemViewType(int);
method public final boolean hasObservers();
method public final boolean hasStableIds();
method public final void notifyDataSetChanged();
method public final void notifyItemChanged(int);
method public final void notifyItemChanged(int, java.lang.Object);
method public final void notifyItemInserted(int);
method public final void notifyItemMoved(int, int);
method public final void notifyItemRangeChanged(int, int);
method public final void notifyItemRangeChanged(int, int, java.lang.Object);
method public final void notifyItemRangeInserted(int, int);
method public final void notifyItemRangeRemoved(int, int);
method public final void notifyItemRemoved(int);
method public void onAttachedToRecyclerView(android.support.v7.widget.RecyclerView);
method public abstract void onBindViewHolder(VH, int);
method public void onBindViewHolder(VH, int, java.util.List<java.lang.Object>);
method public abstract VH onCreateViewHolder(android.view.ViewGroup, int);
method public void onDetachedFromRecyclerView(android.support.v7.widget.RecyclerView);
method public boolean onFailedToRecycleView(VH);
method public void onViewAttachedToWindow(VH);
method public void onViewDetachedFromWindow(VH);
method public void onViewRecycled(VH);
method public void registerAdapterDataObserver(android.support.v7.widget.RecyclerView.AdapterDataObserver);
method public void setHasStableIds(boolean);
method public void unregisterAdapterDataObserver(android.support.v7.widget.RecyclerView.AdapterDataObserver);
}
public static abstract class RecyclerView.AdapterDataObserver {
ctor public RecyclerView.AdapterDataObserver();
method public void onChanged();
method public void onItemRangeChanged(int, int);
method public void onItemRangeChanged(int, int, java.lang.Object);
method public void onItemRangeInserted(int, int);
method public void onItemRangeMoved(int, int, int);
method public void onItemRangeRemoved(int, int);
}
public static abstract interface RecyclerView.ChildDrawingOrderCallback {
method public abstract int onGetChildDrawingOrder(int, int);
}
public static abstract class RecyclerView.ItemAnimator {
ctor public RecyclerView.ItemAnimator();
method public abstract boolean animateAppearance(android.support.v7.widget.RecyclerView.ViewHolder, android.support.v7.widget.RecyclerView.ItemAnimator.ItemHolderInfo, android.support.v7.widget.RecyclerView.ItemAnimator.ItemHolderInfo);
method public abstract boolean animateChange(android.support.v7.widget.RecyclerView.ViewHolder, android.support.v7.widget.RecyclerView.ViewHolder, android.support.v7.widget.RecyclerView.ItemAnimator.ItemHolderInfo, android.support.v7.widget.RecyclerView.ItemAnimator.ItemHolderInfo);
method public abstract boolean animateDisappearance(android.support.v7.widget.RecyclerView.ViewHolder, android.support.v7.widget.RecyclerView.ItemAnimator.ItemHolderInfo, android.support.v7.widget.RecyclerView.ItemAnimator.ItemHolderInfo);
method public abstract boolean animatePersistence(android.support.v7.widget.RecyclerView.ViewHolder, android.support.v7.widget.RecyclerView.ItemAnimator.ItemHolderInfo, android.support.v7.widget.RecyclerView.ItemAnimator.ItemHolderInfo);
method public boolean canReuseUpdatedViewHolder(android.support.v7.widget.RecyclerView.ViewHolder);
method public boolean canReuseUpdatedViewHolder(android.support.v7.widget.RecyclerView.ViewHolder, java.util.List<java.lang.Object>);
method public final void dispatchAnimationFinished(android.support.v7.widget.RecyclerView.ViewHolder);
method public final void dispatchAnimationStarted(android.support.v7.widget.RecyclerView.ViewHolder);
method public final void dispatchAnimationsFinished();
method public abstract void endAnimation(android.support.v7.widget.RecyclerView.ViewHolder);
method public abstract void endAnimations();
method public long getAddDuration();
method public long getChangeDuration();
method public long getMoveDuration();
method public long getRemoveDuration();
method public abstract boolean isRunning();
method public final boolean isRunning(android.support.v7.widget.RecyclerView.ItemAnimator.ItemAnimatorFinishedListener);
method public android.support.v7.widget.RecyclerView.ItemAnimator.ItemHolderInfo obtainHolderInfo();
method public void onAnimationFinished(android.support.v7.widget.RecyclerView.ViewHolder);
method public void onAnimationStarted(android.support.v7.widget.RecyclerView.ViewHolder);
method public android.support.v7.widget.RecyclerView.ItemAnimator.ItemHolderInfo recordPostLayoutInformation(android.support.v7.widget.RecyclerView.State, android.support.v7.widget.RecyclerView.ViewHolder);
method public android.support.v7.widget.RecyclerView.ItemAnimator.ItemHolderInfo recordPreLayoutInformation(android.support.v7.widget.RecyclerView.State, android.support.v7.widget.RecyclerView.ViewHolder, int, java.util.List<java.lang.Object>);
method public abstract void runPendingAnimations();
method public void setAddDuration(long);
method public void setChangeDuration(long);
method public void setMoveDuration(long);
method public void setRemoveDuration(long);
field public static final int FLAG_APPEARED_IN_PRE_LAYOUT = 4096; // 0x1000
field public static final int FLAG_CHANGED = 2; // 0x2
field public static final int FLAG_INVALIDATED = 4; // 0x4
field public static final int FLAG_MOVED = 2048; // 0x800
field public static final int FLAG_REMOVED = 8; // 0x8
}
public static abstract class RecyclerView.ItemAnimator.AdapterChanges implements java.lang.annotation.Annotation {
}
public static abstract interface RecyclerView.ItemAnimator.ItemAnimatorFinishedListener {
method public abstract void onAnimationsFinished();
}
public static class RecyclerView.ItemAnimator.ItemHolderInfo {
ctor public RecyclerView.ItemAnimator.ItemHolderInfo();
method public android.support.v7.widget.RecyclerView.ItemAnimator.ItemHolderInfo setFrom(android.support.v7.widget.RecyclerView.ViewHolder);
method public android.support.v7.widget.RecyclerView.ItemAnimator.ItemHolderInfo setFrom(android.support.v7.widget.RecyclerView.ViewHolder, int);
field public int bottom;
field public int changeFlags;
field public int left;
field public int right;
field public int top;
}
public static abstract class RecyclerView.ItemDecoration {
ctor public RecyclerView.ItemDecoration();
method public deprecated void getItemOffsets(android.graphics.Rect, int, android.support.v7.widget.RecyclerView);
method public void getItemOffsets(android.graphics.Rect, android.view.View, android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.State);
method public void onDraw(android.graphics.Canvas, android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.State);
method public deprecated void onDraw(android.graphics.Canvas, android.support.v7.widget.RecyclerView);
method public void onDrawOver(android.graphics.Canvas, android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.State);
method public deprecated void onDrawOver(android.graphics.Canvas, android.support.v7.widget.RecyclerView);
}
public static abstract class RecyclerView.LayoutManager {
ctor public RecyclerView.LayoutManager();
method public void addDisappearingView(android.view.View);
method public void addDisappearingView(android.view.View, int);
method public void addView(android.view.View);
method public void addView(android.view.View, int);
method public void assertInLayoutOrScroll(java.lang.String);
method public void assertNotInLayoutOrScroll(java.lang.String);
method public void attachView(android.view.View, int, android.support.v7.widget.RecyclerView.LayoutParams);
method public void attachView(android.view.View, int);
method public void attachView(android.view.View);
method public void calculateItemDecorationsForChild(android.view.View, android.graphics.Rect);
method public boolean canScrollHorizontally();
method public boolean canScrollVertically();
method public boolean checkLayoutParams(android.support.v7.widget.RecyclerView.LayoutParams);
method public static int chooseSize(int, int, int);
method public void collectAdjacentPrefetchPositions(int, int, android.support.v7.widget.RecyclerView.State, android.support.v7.widget.RecyclerView.LayoutManager.LayoutPrefetchRegistry);
method public void collectInitialPrefetchPositions(int, android.support.v7.widget.RecyclerView.LayoutManager.LayoutPrefetchRegistry);
method public int computeHorizontalScrollExtent(android.support.v7.widget.RecyclerView.State);
method public int computeHorizontalScrollOffset(android.support.v7.widget.RecyclerView.State);
method public int computeHorizontalScrollRange(android.support.v7.widget.RecyclerView.State);
method public int computeVerticalScrollExtent(android.support.v7.widget.RecyclerView.State);
method public int computeVerticalScrollOffset(android.support.v7.widget.RecyclerView.State);
method public int computeVerticalScrollRange(android.support.v7.widget.RecyclerView.State);
method public void detachAndScrapAttachedViews(android.support.v7.widget.RecyclerView.Recycler);
method public void detachAndScrapView(android.view.View, android.support.v7.widget.RecyclerView.Recycler);
method public void detachAndScrapViewAt(int, android.support.v7.widget.RecyclerView.Recycler);
method public void detachView(android.view.View);
method public void detachViewAt(int);
method public void endAnimation(android.view.View);
method public android.view.View findContainingItemView(android.view.View);
method public android.view.View findViewByPosition(int);
method public abstract android.support.v7.widget.RecyclerView.LayoutParams generateDefaultLayoutParams();
method public android.support.v7.widget.RecyclerView.LayoutParams generateLayoutParams(android.view.ViewGroup.LayoutParams);
method public android.support.v7.widget.RecyclerView.LayoutParams generateLayoutParams(android.content.Context, android.util.AttributeSet);
method public int getBaseline();
method public int getBottomDecorationHeight(android.view.View);
method public android.view.View getChildAt(int);
method public int getChildCount();
method public static deprecated int getChildMeasureSpec(int, int, int, boolean);
method public static int getChildMeasureSpec(int, int, int, int, boolean);
method public boolean getClipToPadding();
method public int getColumnCountForAccessibility(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State);
method public int getDecoratedBottom(android.view.View);
method public void getDecoratedBoundsWithMargins(android.view.View, android.graphics.Rect);
method public int getDecoratedLeft(android.view.View);
method public int getDecoratedMeasuredHeight(android.view.View);
method public int getDecoratedMeasuredWidth(android.view.View);
method public int getDecoratedRight(android.view.View);
method public int getDecoratedTop(android.view.View);
method public android.view.View getFocusedChild();
method public int getHeight();
method public int getHeightMode();
method public int getItemCount();
method public int getItemViewType(android.view.View);
method public int getLayoutDirection();
method public int getLeftDecorationWidth(android.view.View);
method public int getMinimumHeight();
method public int getMinimumWidth();
method public int getPaddingBottom();
method public int getPaddingEnd();
method public int getPaddingLeft();
method public int getPaddingRight();
method public int getPaddingStart();
method public int getPaddingTop();
method public int getPosition(android.view.View);
method public static android.support.v7.widget.RecyclerView.LayoutManager.Properties getProperties(android.content.Context, android.util.AttributeSet, int, int);
method public int getRightDecorationWidth(android.view.View);
method public int getRowCountForAccessibility(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State);
method public int getSelectionModeForAccessibility(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State);
method public int getTopDecorationHeight(android.view.View);
method public void getTransformedBoundingBox(android.view.View, boolean, android.graphics.Rect);
method public int getWidth();
method public int getWidthMode();
method public boolean hasFocus();
method public void ignoreView(android.view.View);
method public boolean isAttachedToWindow();
method public boolean isAutoMeasureEnabled();
method public boolean isFocused();
method public final boolean isItemPrefetchEnabled();
method public boolean isLayoutHierarchical(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State);
method public boolean isMeasurementCacheEnabled();
method public boolean isSmoothScrolling();
method public boolean isViewPartiallyVisible(android.view.View, boolean, boolean);
method public void layoutDecorated(android.view.View, int, int, int, int);
method public void layoutDecoratedWithMargins(android.view.View, int, int, int, int);
method public void measureChild(android.view.View, int, int);
method public void measureChildWithMargins(android.view.View, int, int);
method public void moveView(int, int);
method public void offsetChildrenHorizontal(int);
method public void offsetChildrenVertical(int);
method public void onAdapterChanged(android.support.v7.widget.RecyclerView.Adapter, android.support.v7.widget.RecyclerView.Adapter);
method public boolean onAddFocusables(android.support.v7.widget.RecyclerView, java.util.ArrayList<android.view.View>, int, int);
method public void onAttachedToWindow(android.support.v7.widget.RecyclerView);
method public deprecated void onDetachedFromWindow(android.support.v7.widget.RecyclerView);
method public void onDetachedFromWindow(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.Recycler);
method public android.view.View onFocusSearchFailed(android.view.View, int, android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State);
method public void onInitializeAccessibilityEvent(android.view.accessibility.AccessibilityEvent);
method public void onInitializeAccessibilityEvent(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State, android.view.accessibility.AccessibilityEvent);
method public void onInitializeAccessibilityNodeInfo(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State, android.support.v4.view.accessibility.AccessibilityNodeInfoCompat);
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);
method public android.view.View onInterceptFocusSearch(android.view.View, int);
method public void onItemsAdded(android.support.v7.widget.RecyclerView, int, int);
method public void onItemsChanged(android.support.v7.widget.RecyclerView);
method public void onItemsMoved(android.support.v7.widget.RecyclerView, int, int, int);
method public void onItemsRemoved(android.support.v7.widget.RecyclerView, int, int);
method public void onItemsUpdated(android.support.v7.widget.RecyclerView, int, int);
method public void onItemsUpdated(android.support.v7.widget.RecyclerView, int, int, java.lang.Object);
method public void onLayoutChildren(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State);
method public void onLayoutCompleted(android.support.v7.widget.RecyclerView.State);
method public void onMeasure(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State, int, int);
method public deprecated boolean onRequestChildFocus(android.support.v7.widget.RecyclerView, android.view.View, android.view.View);
method public boolean onRequestChildFocus(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.State, android.view.View, android.view.View);
method public void onRestoreInstanceState(android.os.Parcelable);
method public android.os.Parcelable onSaveInstanceState();
method public void onScrollStateChanged(int);
method public boolean performAccessibilityAction(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State, int, android.os.Bundle);
method public boolean performAccessibilityActionForItem(android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State, android.view.View, int, android.os.Bundle);
method public void postOnAnimation(java.lang.Runnable);
method public void removeAllViews();
method public void removeAndRecycleAllViews(android.support.v7.widget.RecyclerView.Recycler);
method public void removeAndRecycleView(android.view.View, android.support.v7.widget.RecyclerView.Recycler);
method public void removeAndRecycleViewAt(int, android.support.v7.widget.RecyclerView.Recycler);
method public boolean removeCallbacks(java.lang.Runnable);
method public void removeDetachedView(android.view.View);
method public void removeView(android.view.View);
method public void removeViewAt(int);
method public boolean requestChildRectangleOnScreen(android.support.v7.widget.RecyclerView, android.view.View, android.graphics.Rect, boolean);
method public boolean requestChildRectangleOnScreen(android.support.v7.widget.RecyclerView, android.view.View, android.graphics.Rect, boolean, boolean);
method public void requestLayout();
method public void requestSimpleAnimationsInNextLayout();
method public int scrollHorizontallyBy(int, android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State);
method public void scrollToPosition(int);
method public int scrollVerticallyBy(int, android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State);
method public void setAutoMeasureEnabled(boolean);
method public final void setItemPrefetchEnabled(boolean);
method public void setMeasuredDimension(android.graphics.Rect, int, int);
method public void setMeasuredDimension(int, int);
method public void setMeasurementCacheEnabled(boolean);
method public void smoothScrollToPosition(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.State, int);
method public void startSmoothScroll(android.support.v7.widget.RecyclerView.SmoothScroller);
method public void stopIgnoringView(android.view.View);
method public boolean supportsPredictiveItemAnimations();
}
public static abstract interface RecyclerView.LayoutManager.LayoutPrefetchRegistry {
method public abstract void addPosition(int, int);
}
public static class RecyclerView.LayoutManager.Properties {
ctor public RecyclerView.LayoutManager.Properties();
field public int orientation;
field public boolean reverseLayout;
field public int spanCount;
field public boolean stackFromEnd;
}
public static class RecyclerView.LayoutParams extends android.view.ViewGroup.MarginLayoutParams {
ctor public RecyclerView.LayoutParams(android.content.Context, android.util.AttributeSet);
ctor public RecyclerView.LayoutParams(int, int);
ctor public RecyclerView.LayoutParams(android.view.ViewGroup.MarginLayoutParams);
ctor public RecyclerView.LayoutParams(android.view.ViewGroup.LayoutParams);
ctor public RecyclerView.LayoutParams(android.support.v7.widget.RecyclerView.LayoutParams);
method public int getViewAdapterPosition();
method public int getViewLayoutPosition();
method public deprecated int getViewPosition();
method public boolean isItemChanged();
method public boolean isItemRemoved();
method public boolean isViewInvalid();
method public boolean viewNeedsUpdate();
}
public static abstract interface RecyclerView.OnChildAttachStateChangeListener {
method public abstract void onChildViewAttachedToWindow(android.view.View);
method public abstract void onChildViewDetachedFromWindow(android.view.View);
}
public static abstract class RecyclerView.OnFlingListener {
ctor public RecyclerView.OnFlingListener();
method public abstract boolean onFling(int, int);
}
public static abstract interface RecyclerView.OnItemTouchListener {
method public abstract boolean onInterceptTouchEvent(android.support.v7.widget.RecyclerView, android.view.MotionEvent);
method public abstract void onRequestDisallowInterceptTouchEvent(boolean);
method public abstract void onTouchEvent(android.support.v7.widget.RecyclerView, android.view.MotionEvent);
}
public static abstract class RecyclerView.OnScrollListener {
ctor public RecyclerView.OnScrollListener();
method public void onScrollStateChanged(android.support.v7.widget.RecyclerView, int);
method public void onScrolled(android.support.v7.widget.RecyclerView, int, int);
}
public static class RecyclerView.RecycledViewPool {
ctor public RecyclerView.RecycledViewPool();
method public void clear();
method public android.support.v7.widget.RecyclerView.ViewHolder getRecycledView(int);
method public int getRecycledViewCount(int);
method public void putRecycledView(android.support.v7.widget.RecyclerView.ViewHolder);
method public void setMaxRecycledViews(int, int);
}
public final class RecyclerView.Recycler {
ctor public RecyclerView.Recycler();
method public void bindViewToPosition(android.view.View, int);
method public void clear();
method public int convertPreLayoutPositionToPostLayout(int);
method public java.util.List<android.support.v7.widget.RecyclerView.ViewHolder> getScrapList();
method public android.view.View getViewForPosition(int);
method public void recycleView(android.view.View);
method public void setViewCacheSize(int);
}
public static abstract interface RecyclerView.RecyclerListener {
method public abstract void onViewRecycled(android.support.v7.widget.RecyclerView.ViewHolder);
}
public static class RecyclerView.SimpleOnItemTouchListener implements android.support.v7.widget.RecyclerView.OnItemTouchListener {
ctor public RecyclerView.SimpleOnItemTouchListener();
method public boolean onInterceptTouchEvent(android.support.v7.widget.RecyclerView, android.view.MotionEvent);
method public void onRequestDisallowInterceptTouchEvent(boolean);
method public void onTouchEvent(android.support.v7.widget.RecyclerView, android.view.MotionEvent);
}
public static abstract class RecyclerView.SmoothScroller {
ctor public RecyclerView.SmoothScroller();
method public android.view.View findViewByPosition(int);
method public int getChildCount();
method public int getChildPosition(android.view.View);
method public android.support.v7.widget.RecyclerView.LayoutManager getLayoutManager();
method public int getTargetPosition();
method public deprecated void instantScrollToPosition(int);
method public boolean isPendingInitialRun();
method public boolean isRunning();
method protected void normalize(android.graphics.PointF);
method protected void onChildAttachedToWindow(android.view.View);
method protected abstract void onSeekTargetStep(int, int, android.support.v7.widget.RecyclerView.State, android.support.v7.widget.RecyclerView.SmoothScroller.Action);
method protected abstract void onStart();
method protected abstract void onStop();
method protected abstract void onTargetFound(android.view.View, android.support.v7.widget.RecyclerView.State, android.support.v7.widget.RecyclerView.SmoothScroller.Action);
method public void setTargetPosition(int);
method protected final void stop();
}
public static class RecyclerView.SmoothScroller.Action {
ctor public RecyclerView.SmoothScroller.Action(int, int);
ctor public RecyclerView.SmoothScroller.Action(int, int, int);
ctor public RecyclerView.SmoothScroller.Action(int, int, int, android.view.animation.Interpolator);
method public int getDuration();
method public int getDx();
method public int getDy();
method public android.view.animation.Interpolator getInterpolator();
method public void jumpTo(int);
method public void setDuration(int);
method public void setDx(int);
method public void setDy(int);
method public void setInterpolator(android.view.animation.Interpolator);
method public void update(int, int, int, android.view.animation.Interpolator);
field public static final int UNDEFINED_DURATION = -2147483648; // 0x80000000
}
public static abstract interface RecyclerView.SmoothScroller.ScrollVectorProvider {
method public abstract android.graphics.PointF computeScrollVectorForPosition(int);
}
public static class RecyclerView.State {
ctor public RecyclerView.State();
method public boolean didStructureChange();
method public <T> T get(int);
method public int getItemCount();
method public int getRemainingScrollHorizontal();
method public int getRemainingScrollVertical();
method public int getTargetScrollPosition();
method public boolean hasTargetScrollPosition();
method public boolean isMeasuring();
method public boolean isPreLayout();
method public void put(int, java.lang.Object);
method public void remove(int);
method public boolean willRunPredictiveAnimations();
method public boolean willRunSimpleAnimations();
}
public static abstract class RecyclerView.ViewCacheExtension {
ctor public RecyclerView.ViewCacheExtension();
method public abstract android.view.View getViewForPositionAndType(android.support.v7.widget.RecyclerView.Recycler, int, int);
}
public static abstract class RecyclerView.ViewHolder {
ctor public RecyclerView.ViewHolder(android.view.View);
method public final int getAdapterPosition();
method public final long getItemId();
method public final int getItemViewType();
method public final int getLayoutPosition();
method public final int getOldPosition();
method public final deprecated int getPosition();
method public final boolean isRecyclable();
method public final void setIsRecyclable(boolean);
field public final android.view.View itemView;
}
public class RecyclerViewAccessibilityDelegate extends android.support.v4.view.AccessibilityDelegateCompat {
ctor public RecyclerViewAccessibilityDelegate(android.support.v7.widget.RecyclerView);
method public android.support.v4.view.AccessibilityDelegateCompat getItemDelegate();
}
public static class RecyclerViewAccessibilityDelegate.ItemDelegate extends android.support.v4.view.AccessibilityDelegateCompat {
ctor public RecyclerViewAccessibilityDelegate.ItemDelegate(android.support.v7.widget.RecyclerViewAccessibilityDelegate);
}
public abstract class SimpleItemAnimator extends android.support.v7.widget.RecyclerView.ItemAnimator {
ctor public SimpleItemAnimator();
method public abstract boolean animateAdd(android.support.v7.widget.RecyclerView.ViewHolder);
method public boolean animateAppearance(android.support.v7.widget.RecyclerView.ViewHolder, android.support.v7.widget.RecyclerView.ItemAnimator.ItemHolderInfo, android.support.v7.widget.RecyclerView.ItemAnimator.ItemHolderInfo);
method public boolean animateChange(android.support.v7.widget.RecyclerView.ViewHolder, android.support.v7.widget.RecyclerView.ViewHolder, android.support.v7.widget.RecyclerView.ItemAnimator.ItemHolderInfo, android.support.v7.widget.RecyclerView.ItemAnimator.ItemHolderInfo);
method public abstract boolean animateChange(android.support.v7.widget.RecyclerView.ViewHolder, android.support.v7.widget.RecyclerView.ViewHolder, int, int, int, int);
method public boolean animateDisappearance(android.support.v7.widget.RecyclerView.ViewHolder, android.support.v7.widget.RecyclerView.ItemAnimator.ItemHolderInfo, android.support.v7.widget.RecyclerView.ItemAnimator.ItemHolderInfo);
method public abstract boolean animateMove(android.support.v7.widget.RecyclerView.ViewHolder, int, int, int, int);
method public boolean animatePersistence(android.support.v7.widget.RecyclerView.ViewHolder, android.support.v7.widget.RecyclerView.ItemAnimator.ItemHolderInfo, android.support.v7.widget.RecyclerView.ItemAnimator.ItemHolderInfo);
method public abstract boolean animateRemove(android.support.v7.widget.RecyclerView.ViewHolder);
method public final void dispatchAddFinished(android.support.v7.widget.RecyclerView.ViewHolder);
method public final void dispatchAddStarting(android.support.v7.widget.RecyclerView.ViewHolder);
method public final void dispatchChangeFinished(android.support.v7.widget.RecyclerView.ViewHolder, boolean);
method public final void dispatchChangeStarting(android.support.v7.widget.RecyclerView.ViewHolder, boolean);
method public final void dispatchMoveFinished(android.support.v7.widget.RecyclerView.ViewHolder);
method public final void dispatchMoveStarting(android.support.v7.widget.RecyclerView.ViewHolder);
method public final void dispatchRemoveFinished(android.support.v7.widget.RecyclerView.ViewHolder);
method public final void dispatchRemoveStarting(android.support.v7.widget.RecyclerView.ViewHolder);
method public boolean getSupportsChangeAnimations();
method public void onAddFinished(android.support.v7.widget.RecyclerView.ViewHolder);
method public void onAddStarting(android.support.v7.widget.RecyclerView.ViewHolder);
method public void onChangeFinished(android.support.v7.widget.RecyclerView.ViewHolder, boolean);
method public void onChangeStarting(android.support.v7.widget.RecyclerView.ViewHolder, boolean);
method public void onMoveFinished(android.support.v7.widget.RecyclerView.ViewHolder);
method public void onMoveStarting(android.support.v7.widget.RecyclerView.ViewHolder);
method public void onRemoveFinished(android.support.v7.widget.RecyclerView.ViewHolder);
method public void onRemoveStarting(android.support.v7.widget.RecyclerView.ViewHolder);
method public void setSupportsChangeAnimations(boolean);
}
public abstract class SnapHelper extends android.support.v7.widget.RecyclerView.OnFlingListener {
ctor public SnapHelper();
method public void attachToRecyclerView(android.support.v7.widget.RecyclerView) throws java.lang.IllegalStateException;
method public abstract int[] calculateDistanceToFinalSnap(android.support.v7.widget.RecyclerView.LayoutManager, android.view.View);
method public int[] calculateScrollDistance(int, int);
method protected android.support.v7.widget.RecyclerView.SmoothScroller createScroller(android.support.v7.widget.RecyclerView.LayoutManager);
method protected deprecated android.support.v7.widget.LinearSmoothScroller createSnapScroller(android.support.v7.widget.RecyclerView.LayoutManager);
method public abstract android.view.View findSnapView(android.support.v7.widget.RecyclerView.LayoutManager);
method public abstract int findTargetSnapPosition(android.support.v7.widget.RecyclerView.LayoutManager, int, int);
method public boolean onFling(int, int);
}
public class StaggeredGridLayoutManager extends android.support.v7.widget.RecyclerView.LayoutManager implements android.support.v7.widget.RecyclerView.SmoothScroller.ScrollVectorProvider {
ctor public StaggeredGridLayoutManager(android.content.Context, android.util.AttributeSet, int, int);
ctor public StaggeredGridLayoutManager(int, int);
method public android.graphics.PointF computeScrollVectorForPosition(int);
method public int[] findFirstCompletelyVisibleItemPositions(int[]);
method public int[] findFirstVisibleItemPositions(int[]);
method public int[] findLastCompletelyVisibleItemPositions(int[]);
method public int[] findLastVisibleItemPositions(int[]);
method public android.support.v7.widget.RecyclerView.LayoutParams generateDefaultLayoutParams();
method public int getGapStrategy();
method public int getOrientation();
method public boolean getReverseLayout();
method public int getSpanCount();
method public void invalidateSpanAssignments();
method public void scrollToPositionWithOffset(int, int);
method public void setGapStrategy(int);
method public void setOrientation(int);
method public void setReverseLayout(boolean);
method public void setSpanCount(int);
field public static final deprecated int GAP_HANDLING_LAZY = 1; // 0x1
field public static final int GAP_HANDLING_MOVE_ITEMS_BETWEEN_SPANS = 2; // 0x2
field public static final int GAP_HANDLING_NONE = 0; // 0x0
field public static final int HORIZONTAL = 0; // 0x0
field public static final int VERTICAL = 1; // 0x1
}
public static class StaggeredGridLayoutManager.LayoutParams extends android.support.v7.widget.RecyclerView.LayoutParams {
ctor public StaggeredGridLayoutManager.LayoutParams(android.content.Context, android.util.AttributeSet);
ctor public StaggeredGridLayoutManager.LayoutParams(int, int);
ctor public StaggeredGridLayoutManager.LayoutParams(android.view.ViewGroup.MarginLayoutParams);
ctor public StaggeredGridLayoutManager.LayoutParams(android.view.ViewGroup.LayoutParams);
ctor public StaggeredGridLayoutManager.LayoutParams(android.support.v7.widget.RecyclerView.LayoutParams);
method public final int getSpanIndex();
method public boolean isFullSpan();
method public void setFullSpan(boolean);
field public static final int INVALID_SPAN_ID = -1; // 0xffffffff
}
}
package android.support.v7.widget.helper {
public class ItemTouchHelper extends android.support.v7.widget.RecyclerView.ItemDecoration implements android.support.v7.widget.RecyclerView.OnChildAttachStateChangeListener {
ctor public ItemTouchHelper(android.support.v7.widget.helper.ItemTouchHelper.Callback);
method public void attachToRecyclerView(android.support.v7.widget.RecyclerView);
method public void onChildViewAttachedToWindow(android.view.View);
method public void onChildViewDetachedFromWindow(android.view.View);
method public void startDrag(android.support.v7.widget.RecyclerView.ViewHolder);
method public void startSwipe(android.support.v7.widget.RecyclerView.ViewHolder);
field public static final int ACTION_STATE_DRAG = 2; // 0x2
field public static final int ACTION_STATE_IDLE = 0; // 0x0
field public static final int ACTION_STATE_SWIPE = 1; // 0x1
field public static final int ANIMATION_TYPE_DRAG = 8; // 0x8
field public static final int ANIMATION_TYPE_SWIPE_CANCEL = 4; // 0x4
field public static final int ANIMATION_TYPE_SWIPE_SUCCESS = 2; // 0x2
field public static final int DOWN = 2; // 0x2
field public static final int END = 32; // 0x20
field public static final int LEFT = 4; // 0x4
field public static final int RIGHT = 8; // 0x8
field public static final int START = 16; // 0x10
field public static final int UP = 1; // 0x1
}
public static abstract class ItemTouchHelper.Callback {
ctor public ItemTouchHelper.Callback();
method public boolean canDropOver(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.ViewHolder, android.support.v7.widget.RecyclerView.ViewHolder);
method public android.support.v7.widget.RecyclerView.ViewHolder chooseDropTarget(android.support.v7.widget.RecyclerView.ViewHolder, java.util.List<android.support.v7.widget.RecyclerView.ViewHolder>, int, int);
method public void clearView(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.ViewHolder);
method public int convertToAbsoluteDirection(int, int);
method public static int convertToRelativeDirection(int, int);
method public long getAnimationDuration(android.support.v7.widget.RecyclerView, int, float, float);
method public int getBoundingBoxMargin();
method public static android.support.v7.widget.helper.ItemTouchUIUtil getDefaultUIUtil();
method public float getMoveThreshold(android.support.v7.widget.RecyclerView.ViewHolder);
method public abstract int getMovementFlags(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.ViewHolder);
method public float getSwipeEscapeVelocity(float);
method public float getSwipeThreshold(android.support.v7.widget.RecyclerView.ViewHolder);
method public float getSwipeVelocityThreshold(float);
method public int interpolateOutOfBoundsScroll(android.support.v7.widget.RecyclerView, int, int, int, long);
method public boolean isItemViewSwipeEnabled();
method public boolean isLongPressDragEnabled();
method public static int makeFlag(int, int);
method public static int makeMovementFlags(int, int);
method public void onChildDraw(android.graphics.Canvas, android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.ViewHolder, float, float, int, boolean);
method public void onChildDrawOver(android.graphics.Canvas, android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.ViewHolder, float, float, int, boolean);
method public abstract boolean onMove(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.ViewHolder, android.support.v7.widget.RecyclerView.ViewHolder);
method public void onMoved(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.ViewHolder, int, android.support.v7.widget.RecyclerView.ViewHolder, int, int, int);
method public void onSelectedChanged(android.support.v7.widget.RecyclerView.ViewHolder, int);
method public abstract void onSwiped(android.support.v7.widget.RecyclerView.ViewHolder, int);
field public static final int DEFAULT_DRAG_ANIMATION_DURATION = 200; // 0xc8
field public static final int DEFAULT_SWIPE_ANIMATION_DURATION = 250; // 0xfa
}
public static abstract class ItemTouchHelper.SimpleCallback extends android.support.v7.widget.helper.ItemTouchHelper.Callback {
ctor public ItemTouchHelper.SimpleCallback(int, int);
method public int getDragDirs(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.ViewHolder);
method public int getMovementFlags(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.ViewHolder);
method public int getSwipeDirs(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.ViewHolder);
method public void setDefaultDragDirs(int);
method public void setDefaultSwipeDirs(int);
}
public static abstract interface ItemTouchHelper.ViewDropHandler {
method public abstract void prepareForDrop(android.view.View, android.view.View, int, int);
}
public abstract interface ItemTouchUIUtil {
method public abstract void clearView(android.view.View);
method public abstract void onDraw(android.graphics.Canvas, android.support.v7.widget.RecyclerView, android.view.View, float, float, int, boolean);
method public abstract void onDrawOver(android.graphics.Canvas, android.support.v7.widget.RecyclerView, android.view.View, float, float, int, boolean);
method public abstract void onSelected(android.view.View);
}
}
package android.support.v7.widget.util {
public abstract class SortedListAdapterCallback<T2> extends android.support.v7.util.SortedList.Callback {
ctor public SortedListAdapterCallback(android.support.v7.widget.RecyclerView.Adapter);
method public void onChanged(int, int);
method public void onInserted(int, int);
method public void onMoved(int, int);
method public void onRemoved(int, int);
}
}