RoboBinding v0.8.11 Release Notes
Release Date: 2015-10-26 // over 8 years ago-
๐ 1. @ItemPresenationModel now added ItemLayout selector to support multiple layouts:
@ItemPresentationModel(value = StringItemPresentationModel.class,
factoryMethod = "createDifferentStringItemPresentationModel",
viewTypeSelector = "selectViewType")
example - https://github.com/RoboBinding/RoboBinding-gallery/blob/master/app/src/main/java/org/robobinding/gallery/presentationmodel/AdapterViewPresentationModel.java ๐ 2. Added RecyclerView support. You can apply same @ItemPresentationModel for RecyclerView. And It support List, TypedCursor and new DataSetObservable. Actually, All Adapter liked View automatically support the three DataSet types. Also if you read RecyclerViewBinding implemenation, you will know that you can easily implement any third party or not-yet implemented DataSet Views easily. RoboBinding is designed for extension.example:
https://github.com/RoboBinding/RoboBinding-gallery/blob/master/app/src/main/res/layout/activity_recycler_view.xml
https://github.com/RoboBinding/RoboBinding-gallery/blob/master/app/src/main/java/org/robobinding/gallery/activity/RecyclerViewActivity.java
https://github.com/RoboBinding/RoboBinding-gallery/blob/master/app/src/main/java/org/robobinding/gallery/presentationmodel/RecyclerViewPresentationModel.javaRecyclerViewBinding implemenation:
๐ https://github.com/RoboBinding/RoboBinding/tree/develop/extras/src/main/java/org/robobinding/supportwidget/recyclerview