Share Coding

Tutorials, Problems, Stuffs …

Tag Archives: activity

Android Pass object between Intent

1. First of all, your Object class must be

implements Serializable

2. Package your parameter into a Bundle

User user1= new User("user1", "M");
Bundle bundle = new Bundle();
bundle.putSerializable("USER", user1);

Read more of this post

Advertisements