public class FenLeiRecyclerOutHolder extends RecyclerView.ViewHolder {
public TextView recycler_out_text;
public RecyclerView recycler_innner;
public FenLeiRecyclerOutHolder(View itemView) {
super(itemView);
recycler_out_text = itemView.findViewById(R.id.recycler_out_text);
recycler_innner = itemView.findViewById(R.id.recycler_innner);
}
}
FenRecyclerInnerHolder:
public class FenRecyclerInnerHolder extends RecyclerView.ViewHolder {
public ImageView recycler_innner_image;
public TextView recycler_inner_text;
public FenRecyclerInnerHolder(View itemView) {
super(itemView);
recycler_innner_image = itemView.findViewById(R.id.recycler_innner_image);
recycler_inner_text = itemView.findViewById(R.id.recycler_inner_text);
}
}
ProDuctGridHolder:
public class ProDuctGridHolder extends RecyclerView.ViewHolder {
public ImageView product_list_image;
public TextView product_list_title;
public TextView product_list_price;
public ProDuctGridHolder(View itemView) {
super(itemView);
product_list_image = itemView.findViewById(R.id.product_list_image);
product_list_title = itemView.findViewById(R.id.product_list_title);
product_list_price = itemView.findViewById(R.id.product_list_price);
}
}
ProductListHolder:
public class ProductListHolder extends RecyclerView.ViewHolder {
public ImageView product_list_image;
public TextView product_list_title;
public TextView product_list_price;
public ProductListHolder(View itemView) {
super(itemView);
product_list_image = itemView.findViewById(R.id.product_list_image);
product_list_title = itemView.findViewById(R.id.product_list_title);
product_list_price = itemView.findViewById(R.id.product_list_price);
}
}