use of ch.hsr.sa.radiotour.presentation.models.EmptyItem in project app by TourLive.
the class VirtualClassFragment method intiTable.
private void intiTable(View root) {
recyclerAdapter = new RecyclerAdapter();
recyclerAdapter.setEmptyItem(new EmptyItem(getString(android.R.string.cancel)));
recyclerView.setLayoutManager(new LinearLayoutManager(mContext, LinearLayoutManager.VERTICAL, false));
recyclerView.setAdapter(recyclerAdapter);
for (Rider r : RiderPresenter.getInstance().getAllRidersReturned()) {
recyclerAdapter.add(new VirtualClassementRider(this, mContext, r));
}
}
Aggregations