public class SectionsRecyclerView extends SwipeRefreshLayout implements HasLithoViewChildren
RecyclerSpec
provides such as sticky header
and pull-to-refreshConstructor and Description |
---|
SectionsRecyclerView(Context context,
RecyclerView recyclerView) |
Modifier and Type | Method and Description |
---|---|
RecyclerView |
getRecyclerView() |
LithoView |
getStickyHeader() |
void |
hideStickyHeader() |
boolean |
isStickyHeaderHidden() |
void |
obtainLithoViewChildren(List<LithoView> lithoViews) |
protected void |
onDetachedFromWindow() |
protected void |
onLayout(boolean changed,
int left,
int top,
int right,
int bottom) |
void |
onMeasure(int widthMeasureSpec,
int heightMeasureSpec) |
void |
requestDisallowInterceptTouchEvent(boolean disallowIntercept) |
void |
resetItemAnimator() |
void |
setItemAnimator(ItemAnimator itemAnimator) |
void |
setOnTouchListener(OnTouchListener listener) |
void |
setStickyComponent(ComponentTree component) |
void |
setStickyHeaderVerticalOffset(int verticalOffset) |
void |
showStickyHeader() |
public SectionsRecyclerView(Context context, RecyclerView recyclerView)
public RecyclerView getRecyclerView()
public void setStickyComponent(ComponentTree component)
public LithoView getStickyHeader()
public void setStickyHeaderVerticalOffset(int verticalOffset)
public void showStickyHeader()
public void hideStickyHeader()
public boolean isStickyHeaderHidden()
public void setItemAnimator(ItemAnimator itemAnimator)
public void resetItemAnimator()
public void onMeasure(int widthMeasureSpec, int heightMeasureSpec)
protected void onLayout(boolean changed, int left, int top, int right, int bottom)
protected void onDetachedFromWindow()
public void requestDisallowInterceptTouchEvent(boolean disallowIntercept)
public void setOnTouchListener(OnTouchListener listener)
public void obtainLithoViewChildren(List<LithoView> lithoViews)
obtainLithoViewChildren
in interface HasLithoViewChildren