java.lang.Object | ||
↳ | RecyclerView | |
↳ | com.pdftron.pdf.widget.recyclerview.SimpleRecyclerView |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
SimpleRecyclerView(Context context) | |||||||||||
SimpleRecyclerView(Context context, AttributeSet attrs) | |||||||||||
SimpleRecyclerView(Context context, AttributeSet attrs, int defStyle) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void | initDefaultView() | ||||||||||
void |
initView(int spanCount)
Initializes the recycler view with span count and grid spacing.
| ||||||||||
void |
initView(int spanCount, int gridSpacing)
Initializes the recycler view with span count and grid spacing.
| ||||||||||
void | removeItemDecoration() | ||||||||||
void | removeSpaceDecoration() | ||||||||||
void | setAdapter(Adapter adapter) | ||||||||||
void | setSpanSizeLookup(GridLayoutManager.SpanSizeLookup spanSizeLookup) | ||||||||||
void | update(int spanCount) | ||||||||||
void | updateLayoutManager(int count) | ||||||||||
void | updateSpanCount(int count) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Initializes the recycler view with span count and grid spacing. Grid spacing is default to 4dp.
spanCount | The span count |
---|
Initializes the recycler view with span count and grid spacing.
spanCount | The span count |
---|---|
gridSpacing | The grid spacing |