Add new methods to EasyAdapter
and EasyRecyclerAdapter
:
getItems()
: Access the underlying List of data items so there is more flexibility to interact with the Adapter.removeItem(T item)
: Removes a given item from the adapter and refreshes the AdapterView or RecyclerViewremoveItems(Collection items)
: Same as above but for a collection of items.addItems(Collection items)
: Add a Collection of items and refreshes the AdapterView or RecyclerViewsetItemsWithoutNotifying(List)
: Same as setItems(List) but this method does not call notifyDataSetChanged()