So the case is i want to send data from one activity to another with the help of ArrayList of objects. Below is the class code which i want to use as object. So please tell me t
Try this, put you arraylist using putStringArrayListExtra
putStringArrayListExtra
Intent i = new Intent(MainActivity.this,Nextactivity.class); i.putStringArrayListExtra("arraylist", arraylist);
And get arraylist.
Intent i = getIntent(); list = i.getIntegerArrayListExtra("arraylist");