public void enableShowLoadMore() { showShowLoadMore = true; ((RealmBasedRecyclerViewAdapter) recyclerView.getAdapter()).addLoadMore(); }
public void disableShowLoadMore() { showShowLoadMore = false; ((RealmBasedRecyclerViewAdapter) recyclerView.getAdapter()).removeLoadMore(); }
public void setAdapter(RealmBasedRecyclerViewAdapter adapter) { this.adapter = adapter; }