public abstract class RecyclerViewItem
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
RecyclerViewItem(int level) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChildren(java.util.List<RecyclerViewItem> children) |
java.util.List<RecyclerViewItem> |
getChildren() |
int |
getLevel() |
int |
getPosition() |
boolean |
hasChildren() |
boolean |
isExpanded() |
void |
setExpanded(boolean expanded) |
void |
setLevel(int level) |
void |
setPosition(int position) |
public boolean isExpanded()
public void setExpanded(boolean expanded)
public int getPosition()
public void setPosition(int position)
public void setLevel(int level)
public int getLevel()
public java.util.List<RecyclerViewItem> getChildren()
public void addChildren(java.util.List<RecyclerViewItem> children)
public boolean hasChildren()