private void loadProfile(String userId,String name){
  final Intent userProfileIntent=new Intent(getActivity(),UserProfileActivity.class);
  userProfileIntent.putExtra(AppConstants.Keys.USER_ID,userId);
  userProfileIntent.putExtra(AppConstants.Keys.USER_NAME,name);
  userProfileIntent.putExtra(AppConstants.Keys.SERVICE_SCREEN_TYPE,AppConstants.ServiceScreenType.PROFILE);
  startActivity(userProfileIntent);
}

private void loadProfile ( String userId , String name ) { final Intent userProfileIntent = new Intent ( getActivity ( ) , UserProfileActivity . class ) ; userProfileIntent . putExtra ( AppConstants . Keys . USER_ID , userId ) ; userProfileIntent . putExtra ( AppConstants . Keys . USER_NAME , name ) ; userProfileIntent . putExtra ( AppConstants . Keys . SERVICE_SCREEN_TYPE , AppConstants . ServiceScreenType . PROFILE ) ; startActivity ( userProfileIntent ) ; }
this loads the profile of the user
