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
getViewHolder
method
@Override
public ViewHolder getViewHolder(View v) {
return new ViewHolder(v);
}
- If you implemented your own
Item
using theIItem
interface instead theAbstractItem
you will now also have to implementattachToWindow
anddetachFromWindow
- The reflection based
GenericItemAdapter
CTOR (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
GenericItemAdapter
ctor, 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