package com.example.wallpapermagazine.recylcle;

import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;

import com.example.wallpapermagazine.R;

public class ImageViewHolder extends RecyclerView.ViewHolder {

    private ImageView imageView_item;
    private LinearLayout layout_item;
    public ImageViewHolder(@NonNull View itemView) {
        super(itemView);
        imageView_item=itemView.findViewById(R.id.img_cata_item_recyle);
        layout_item=itemView.findViewById(R.id.cata_item_lay);

    }
    public LinearLayout getLayoutItem(){
        return layout_item;
    }
    public ImageView getImageView(){
        return imageView_item;
    }
}
