public static class ItemIterator.Builder extends AbstractItemIterator.AbstractBuilder<ItemIterator.Builder,ItemIterator>
ItemIterator
.reverse, start
Constructor and Description |
---|
Builder(Model model,
de.mrapp.android.util.view.AttachedViewRecycler<AbstractItem,?> viewRecycler)
Creates a new builder, which allows to configure and create instances of the class
ItemIterator . |
Modifier and Type | Method and Description |
---|---|
ItemIterator |
create()
Creates the iterator, which has been configured by using the builder.
|
reverse, start
public Builder(@NonNull Model model, @NonNull de.mrapp.android.util.view.AttachedViewRecycler<AbstractItem,?> viewRecycler)
ItemIterator
.model
- The model, which belongs to the tab switcher, whose items should be iterated by
the iterator, which is created by the builder, as an instance of the type Model
. The model may not be nullviewRecycler
- The view recycler, which allows to inflate the views, which are used to visualize
the items, which are iterated by the iterator, which is created by the builder,
as an instance of the class AttachedViewRecycler. The view recycler may not be
null@NonNull public ItemIterator create()
AbstractItemIterator.AbstractBuilder
create
in class AbstractItemIterator.AbstractBuilder<ItemIterator.Builder,ItemIterator>
ItemIterator
. The iterator may not be null