/** * set a new list of items and apply it to the existing list (clear - add) for this adapter * NOTE may consider using setNewList if the items list is a reference to the list which is used inside the adapter * * @param items the items to set */ public ModelAdapter<Model, Item> set(List<Model> items) { return set(items, true); }
modelAdapter.set(items);