how to pass an object to another activity in android code example
Example 1: android pass object to activity
Intent intent = new Intent(fromClass.this,toClass.class).putExtra("myCustomerObj",customerObj);
Example 2: android pass object to activity
Customer customerObjInToClass = getIntent().getExtras().getParcelable("myCustomerObj");