v2.5.0
MIGRATION
- If you use the MaterialDrawer or the AboutLibraries you will need a compatible release of those for it to work
- The FACTORY within the items is no longer required and replaced by a much simpler approach. Remove the old FACTORY and it's methods, and implement the
getViewHoldermethod
@Override
public ViewHolder getViewHolder(View v) {
return new ViewHolder(v);
}- If you implemented your own
Itemusing theIIteminterface instead theAbstractItemyou will now also have to implementattachToWindowanddetachFromWindow
- The reflection based
GenericItemAdapterCTOR (with the 2 classes as overload) was removed. Please use the CTOR using aFunction
new GenericItemAdapter<>(new Function<Model, Item>() {
@Override
public Item apply(Model model) {
return new Item(model);
}
});library
- as mentioned above
- removed ViewHolderFactory, please implement
getViewHolder() - removed reflection based
GenericItemAdapterctor, please use the one with theFunction
- removed ViewHolderFactory, please implement
- implement new attachTo- & detachFrom- window listeners to allow you a even more fine controlled optimization of your rv's