java.lang.Object | |
↳ | com.h6ah4i.android.widget.advrecyclerview.adapter.UnwrapPositionResult |
The result object of unwrapPosition(UnwrapPositionResult, int)
.
This class is mutable that is why it is intended to reuse the same instance multiple times to avoid object creations.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public Adapter | adapter | Adapter | |||||||||
public int | position | Unwrapped position | |||||||||
public Object | tag | Tag object
The tag object can be used to identify the path. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
UnwrapPositionResult() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
clear()
Clear fields
| ||||||||||
boolean |
isValid()
Returns the result is valid.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Adapter
Unwrapped position
Tag object
The tag object can be used to identify the path. (e.g.: wrapper adapter can use a same child adapter multiple times)
Clear fields
Returns the result is valid.