Closed kawtikwar closed 5 years ago
Yes, you can do that.
For example, inside Binder1,
@Override
public boolean canBindData(Object item) {
return item instanceof DataModel && ((DataModel) item).getSomeParameter().equals(MY_VALUE_HERE);
}
Similarly you can do that for other binders as well.
Thank You @DevAhamed
I want to add multiple binders with the same DataModel as shown below
Binder1 class
Binder2 class
Can I do like the above? If not then how to achieve this using MultiViewAdapter.
I have the same model class but need to show different View Type on the basis of some parameter̥