HeadersFragment
class HeadersFragment : Fragment
An fragment containing a list of row headers. Implementation must support three types of rows:
DividerRowrendered byDividerPresenter.Rowrendered byRowHeaderPresenter.SectionRowrendered byRowHeaderPresenter.
setPresenterSelector in subclass constructor to customize Presenters. App may override onCreateHeadersFragment.
Summary
Nested types |
|---|
interface HeadersFragment.OnHeaderClickedListenerThis interface is deprecated. |
|
This interface is deprecated. |
Public constructors |
|---|
Public functions |
|
|---|---|
ObjectAdapter! |
Returns the Adapter that represents list of rows. |
ItemBridgeAdapter! |
Returns the RecyclerView.Adapter that wraps |
PresenterSelector! |
Get the presenter selector used to create and bind views. |
Int |
Gets position of currently selected row. |
VerticalGridView! |
|
Boolean |
|
View? |
This function is deprecated. |
Unit |
This function is deprecated. |
Unit |
This function is deprecated. |
Unit |
|
Boolean |
|
Unit |
|
Unit |
This function is deprecated. |
Unit |
Sets the adapter that represents a list of rows. |
Unit |
|
Unit |
|
Unit |
|
Unit |
Set the presenter selector used to create and bind views. |
Unit |
Sets the selected row position with smooth animation. |
Unit |
Sets the selected row position. |
Inherited Constants |
||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Inherited functions |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Public constructors
Public functions
fungetAdapter(): ObjectAdapter!
Returns the Adapter that represents list of rows.
| Returns | |
|---|---|
ObjectAdapter! |
Adapter that represents list of rows. |
fungetBridgeAdapter(): ItemBridgeAdapter!
Returns the RecyclerView.Adapter that wraps getAdapter.
| Returns | |
|---|---|
ItemBridgeAdapter! |
The RecyclerView.Adapter that wraps |
fungetPresenterSelector(): PresenterSelector!
Get the presenter selector used to create and bind views.
fungetSelectedPosition(): Int
Gets position of currently selected row.
| Returns | |
|---|---|
Int |
Position of currently selected row. |
funonCreateView(
inflater: LayoutInflater!,
container: ViewGroup?,
savedInstanceState: Bundle!
): View?
funsetAdapter(rowsAdapter: ObjectAdapter!): Unit
Sets the adapter that represents a list of rows.
| Parameters | |
|---|---|
rowsAdapter: ObjectAdapter! |
Adapter that represents list of rows. |
funsetPresenterSelector(presenterSelector: PresenterSelector!): Unit
Set the presenter selector used to create and bind views.