I am trying to pass images from drawable in intent but not able to do .please help me out : Sender Activity:
`enter code here`public class ShowSquadAdapter extends `enter code here`RecyclerView.Adapter<ShowSquadAdapter.ViewHolder> {

    `enter code here`Context con;
    `enter code here`Bitmap `enter code here`bmp,bmp1,bmp2,bmp3,bmp4,bmp5,bmp6,bmp7,bmp8,bmp9,bmp10,bmp11,bmp12,bmp13,`enter code here`bmp14,bmp15;
    `enter code here`public ArrayList<SquadModel> squad=new ArrayList<SquadModel>();

    `enter code here`public ShowSquadAdapter(Context con,ArrayList<SquadModel> data)
    {
        `enter code here`this.con=con;
        `enter code here`this.squad=data;

    }
   `enter code here` @Override
   `enter code here` public ShowSquadAdapter.ViewHolder `enter code here`onCreateViewHolder(ViewGroup parent, int viewType) {
        `enter code here`View view = `enter code here`LayoutInflater.from(con).inflate(R.layout.card_squad,parent,false);
        `enter code here`ViewHolder vh = new ViewHolder(view);
        `enter code here`return vh;
    }

    `enter code here`@Override
   `enter code here` public void onBindViewHolder(ShowSquadAdapter.ViewHolder holder, int position) {

        `enter code here`final SquadModel squadModel = squad.get(position);
        `enter code here`if(holder==null) {
           `enter code here` Log.e("tag","null");
        `enter code here`}

        `enter code here`ImageView imageView=holder.imvplayer;
      `enter code here`imageView.setImageResource(squadModel.getIconid());
        `enter code here`if(holder.equals(null))
        `enter code here`{
           `enter code here` Log.e("tag","null");
        `enter code here`}
        `enter code here`TextView textView = holder.tvplayername;
        `enter code here`textView.setText(squadModel.getName());
        `enter code here`holder.linearLayout.setOnClickListener(new View.OnClickListener() {
            `enter code here`@Override
            `enter code here`public void onClick(View v) {
 `enter code here`Intent j = new Intent(con,ShowSquad.class);
`enter code here`j.putExtra("Juan Calatayud",squadModel.getIconid());
                `enter code here`Log.e("tag", String.valueOf(squadModel.getIconid()));
                `enter code here`j.putExtra("Amrinder Singh",squadModel.getIconid());
                `enter code here`j.putExtra("Kunzang Bhutia",squadModel.getIconid());
                `enter code here`j.putExtra("Nallappan Mohanraj",squadModel.getIconid());
                `enter code here`j.putExtra("Arnab Mondal",squadModel.getIconid());
                `enter code here`j.putExtra("Denzil Franco",squadModel.getIconid());
                `enter code here`j.putExtra("Syed Rahim Nabi",squadModel.getIconid());
                `enter code here`j.putExtra("Rino Anto",squadModel.getIconid());
                `enter code here`j.putExtra("Augustin Fernandes",squadModel.getIconid());
                `enter code here`j.putExtra("Jaime Gavilán",squadModel.getIconid());
                `enter code here`j.putExtra("Borja Fernández",squadModel.getIconid());
                `enter code here`j.putExtra("Clifford Miranda",squadModel.getIconid());
                `enter code here`j.putExtra("Arata Izumi",squadModel.getIconid());
                `enter code here`j.putExtra("Sameehg Doutie",squadModel.getIconid());
                `enter code here`j.putExtra("Ofentse Nato",squadModel.getIconid());
                `enter code here`j.putExtra("Jorge Alonso",squadModel.getIconid());

`enter code here`Reciever Activity:
`enter code here`public class ShowSquad extends AppCompatActivity {
    `enter code here`public ArrayList<SquadModel> squad=new ArrayList<SquadModel>();
    `enter code here`@Override
    `enter code here`protected void onCreate(@Nullable Bundle savedInstanceState) {

        `enter code here`ImageView imageView;
        `enter code here`TextView textView;
        `enter code here`super.onCreate(savedInstanceState);
        `enter code here`setContentView(R.layout.activity_showsquad);
        `enter code here`imageView=(ImageView)findViewById(R.id.imvshowsquad);
        `enter code here`textView=(TextView)findViewById(R.id.tvshow);
        `enter code here`Bundle bundle = getIntent().getExtras();
        //SquadModel squadModel = squad.
        `enter code here`if(bundle!=null) {

            `enter code here`byte arr[] = getIntent().getByteArrayExtra("Juan Calatayud");
            `enter code here`Bitmap bmp = BitmapFactory.decodeByteArray(arr,0,arr.length);
            `enter code here`imageView.setImageBitmap(bmp);
                //SquadModel squadModel = squad.get(i);
                `enter code here`imageView.setImageResource(bundle.getInt("Juan Calatayud",R.drawable.p_juan));
                `enter code here`imageView.setImageResource(bundle.getInt("Amrinder Singh"));
                `enter code here`imageView.setImageResource(bundle.getInt("Kunzang Bhutia"));
                imageView.setImageResource(bundle.getInt("Nallappan Mohanraj"));
                imageView.setImageResource(bundle.getInt("Arnab Mondal"));
                imageView.setImageResource(bundle.getInt("Denzil Franco"));
                imageView.setImageResource(bundle.getInt("Syed Rahim Nabi"));
                imageView.setImageResource(bundle.getInt("Rino Anto"));
                imageView.setImageResource(bundle.getInt("Augustin Fernandes"));
                imageView.setImageResource(bundle.getInt("Jaime Gavilán"));
                imageView.setImageResource(bundle.getInt("Borja Fernández"));
                imageView.setImageResource(bundle.getInt("Clifford Miranda"));
                imageView.setImageResource(bundle.getInt("Arata Izumi"));
                imageView.setImageResource(bundle.getInt("Sameehg Doutie"));
                imageView.setImageResource(bundle.getInt("Ofentse Nato"));
                imageView.setImageResource(bundle.getInt("Jorge Alonso"));

  



