Java 类io.realm.RealmBasedRecyclerViewAdapter 实例源码

项目:Samantha    文件:RealmRecyclerView.java   
public void enableShowLoadMore() {
    showShowLoadMore = true;
    ((RealmBasedRecyclerViewAdapter) recyclerView.getAdapter()).addLoadMore();
}
项目:Samantha    文件:RealmRecyclerView.java   
public void disableShowLoadMore() {
    showShowLoadMore = false;
    ((RealmBasedRecyclerViewAdapter) recyclerView.getAdapter()).removeLoadMore();
}
项目:Samantha    文件:RealmSimpleItemTouchHelperCallback.java   
public void setAdapter(RealmBasedRecyclerViewAdapter adapter) {
    this.adapter = adapter;
}