Need a unique gift idea?
A Pastebin account makes a great Christmas gift


a guest Sep 21st, 2018 66 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. @Override
  2. public void onBindViewHolder(@NonNull RecyclerView.ViewHolder holder, int position) {
  3.     switch (getItemViewType(position)) {
  4.         case Literature.TYPE_BOOK:
  5.             ((BookViewHolder) holder).bindView(position);
  6.             break;
  7.         case Literature.TYPE_MAGAZINE:
  8.             ((MagazineViewHolder) holder).bindView(position);
  9.             break;
  10.         case Literature.TYPE_NEWSPAPER:
  11.             ((NewspaperViewHolder) holder).bindView(position);
  12.             break;
  13.     }
  14. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand