SHARE
TWEET

Untitled

a guest Jul 23rd, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. StockViewHolder(View itemView) {
  2.             super(itemView);
  3.             cv = itemView.findViewById(R.id.card);
  4.             name = itemView.findViewById(R.id.name);
  5.             quantity = itemView.findViewById(R.id.quantity);
  6.             category = itemView.findViewById(R.id.category);
  7.             no = itemView.findViewById(R.id.no);
  8.            
  9.             itemView.setOnClickListener(v->{
  10.              mObserver.onCardClicked(getAdapterPosition(), stockFiltered.get(getAdapterPosition()).name);
  11.             }
  12.         }
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
 
Top