app/src/main/java/com/anuj/twitter/activities/TwitterActivity.java
private void showProfile(User user){

        Intent i = new Intent(this, ProfileActivity.class);
        i.putExtra("user", user);
        startActivity(i);
    }
/**
     * This is goign to be show the profile frangment both for the current user
     * and anyone clicking form the fragment
     *
     * @param user
     */
This is goign to be show the profile frangment both for the current user
and anyone clicking form the fragment

@param user
This is goign to be show the profile frangment both for the current user and anyone clicking form the fragment @param user
private void showProfile(User user){
        Intent i = new Intent(this, ProfileActivity.class);
        i.putExtra("user", user);
        startActivity(i);
    }
private void showProfile ( User user ) { Intent i = new Intent ( this , ProfileActivity . class ) ; i . putExtra ( "user" , user ) ; startActivity ( i ) ; }
This is goign to be show the profile frangment both for the current user
 and anyone clicking form the fragment
This is goign to be show the profile frangment both for the current user and anyone clicking form the fragment