public interface AdapterPredicate<Item extends IItem>
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(IAdapter<Item> lastParentAdapter,
int lastParentPosition,
Item item,
int position)
`apply` is called for every single item in the `recursive` method.
|
boolean apply(IAdapter<Item> lastParentAdapter, int lastParentPosition, Item item, int position)
lastParentAdapter - the last `IAdapter` managing the last (visible) parent item (that might also be a parent of a parent, ..)lastParentPosition - the global position of the last (visible) parent item, holding this sub item (that might also be a parent of a parent, ..)item - the item to checkposition - the global position of the item, or "-1" if it is a non displayed sub item