Closed ivacf closed 9 years ago
also the tests :(
About the tests I'm giving up with travis. It seems to run out of memory while starting the emulator or something like that. I will change so it only runs the unit tests and not the functional tests that require the emulator. We can run the functional tests manually.
There you go @hitherejoe, all green!. Ready for you to have a look again.
Add extra methods to
EasyAdapter
andEasyRecyclerAdapter
:getItems()
: will return the underlyingList
of data items so provides more flexibility to interact with the Adapter.removeItem(T item)
: Removes a given item from the adapter and refreshes theAdapterView
orRecyclerView
removeItems(Collection items)
: Same as above but for a collection of items.addItems(Collection items)
: Add a collection of items and refreshes theAdapterView
orRecyclerView
setItemsWithoutNotifying(List)
: same assetItems(List)
but this method does not callnotifyDataSetChanged()
Also add unit tests for all the methods in
EasyAdapter
andEasyRecyclerAdapter
.