Skip to content

Instantly share code, notes, and snippets.

@Velmm
Created January 5, 2018 04:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Velmm/4527c850adb627c9ab5449bec2a6902b to your computer and use it in GitHub Desktop.
Save Velmm/4527c850adb627c9ab5449bec2a6902b to your computer and use it in GitHub Desktop.
public class UserActvity extends AppCompatActivity {
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.user_activity);
Intent in = getIntent();
User user = in.getParcelableExtra("user");
Log.d("User",user.toString());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment