public class DataBindingItem extends java.lang.Object implements java.lang.Iterable<DataBindingItem>
ResourceReference to the view used to represent it.
It also contains how many items of this type the AdapterView should display.
It can also contain an optional list of children in case the AdapterView is an
ExpandableListView. In this case, the count value is used as a repeat count for the children,
similar to AdapterBinding.getRepeatCount().| Constructor and Description |
|---|
DataBindingItem(ResourceReference reference,
int count) |
DataBindingItem(java.lang.String name,
boolean platformLayout,
int count) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(DataBindingItem child) |
java.util.List<DataBindingItem> |
getChildren() |
int |
getCount()
The repeat count for this object or the repeat count for the children if there are any.
|
ResourceReference |
getViewReference()
Returns the
ResourceReference for the view. |
java.util.Iterator<DataBindingItem> |
iterator() |
public DataBindingItem(ResourceReference reference, int count)
public DataBindingItem(java.lang.String name,
boolean platformLayout,
int count)
public ResourceReference getViewReference()
ResourceReference for the view.public int getCount()
public void addChild(DataBindingItem child)
public java.util.List<DataBindingItem> getChildren()
public java.util.Iterator<DataBindingItem> iterator()
iterator in interface java.lang.Iterable<DataBindingItem>