@Override protected void onBindListItems(Binder<RecyclerListBind> mBinder) { //默认方式 (需要现在RecyclerView 上设置adapter) mBinder.bindRecyclerList(RecyclerListBind.PROP_students, mRv); }
/** * <p>Recommend you use {@linkplain #bindList(Property, BaseListPropertyCallback.IItemManager)} instead.</p> * bind list of recycler view. * @param property the property of data * @param recyclerView the recycler view. eg: android.support.v7.widget.RecyclerView on android platform * @return this. * @since 1.1.2 */ @java.lang.Deprecated public final Binder<T> bindRecyclerList(Property property, Object recyclerView){ return bindRecyclerList(property.getName(), recyclerView); } /**
/** * <p>Recommend you use {@linkplain #bindList(Property, BaseListPropertyCallback.IItemManager)} instead.</p> * bind list of recycler view. * @param property the property of data * @param recyclerView the recycler view. eg: android.support.v7.widget.RecyclerView on android platform * @return this. * @since 1.1.2 */ @java.lang.Deprecated public final Binder<T> bindRecyclerList(Property property, Object recyclerView){ return bindRecyclerList(property.getName(), recyclerView); } /**