How to transfer object User to another layout

android
user
api

#1

How to transfer object User to another layout. When i use intent.putExtra the app crashes.