| java.lang.Object | |
| ↳ | com.h6ah4i.android.widget.advrecyclerview.adapter.AdapterPath |
Adapter path. This class represents how nested WrapperAdapters route items.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
AdapterPath()
Constructor.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| AdapterPath |
append(Adapter adapter, Object tag)
Appends path segment.
| ||||||||||
| AdapterPath |
append(UnwrapPositionResult wrapResult)
Appends path segment.
| ||||||||||
| AdapterPath |
append(AdapterPathSegment segment)
Appends path segment.
| ||||||||||
| AdapterPath |
clear()
Clears path segments.
| ||||||||||
| AdapterPathSegment |
firstSegment()
Retrieves the first path segment.
| ||||||||||
| boolean |
isEmpty()
Gets whether the path is empty.
| ||||||||||
| AdapterPathSegment |
lastSegment()
Retrieves the last path segment.
| ||||||||||
| List<AdapterPathSegment> |
segments()
Gets path segments.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Constructor.
Appends path segment.
| adapter | The adapter |
|---|---|
| tag | The tag object |
AdapterPath instance itself.
Appends path segment.
| wrapResult | The result object returned by wrapPosition(AdapterPathSegment, int). |
|---|
AdapterPath instance itself.
Retrieves the first path segment.
Gets whether the path is empty.
Retrieves the last path segment.
Gets path segments.