コード例 #1
0
 @Override
 public void onBindViewHolder(ViewHolder holder, int position) {
   LandingOptionMenuItemVO item = LandingMenuCardService.getInstance().getItem(position);
   holder.placeName.setText(item.getName());
   Picasso.with(mContext).load(item.getImgName()).into(holder.placeImage);
 }
コード例 #2
0
 @Override
 public int getItemCount() {
   return LandingMenuCardService.getInstance().getSize();
 }