Intent mIntent = new Intent(Login.this, PlatformActivity.class);
Bundle bundle = new Bundle();
bundle.putSerializable("user",user);
mIntent.putExtras(bundle);
startActivity(mIntent);
public class User implements Serializable {
private List<UserAccount> userAccountList;
...
...
}
RuntimeException:Parcelable encountered IOException writing serializable object (name = com.orbis.mobile.User)
User is not serializable , I want to know how to pass Object with arrayList. If user not set userAccountList, it can be worked.