@SuppressLint("NewApi")
  @Override
  protected void onPostExecute(JSONObject jsonO) {
    super.onPostExecute(null);
    profUser.setInitData(jsonO);
    Log.i("Task", "Open Others Profile,...");
    if (!HttpConnections.goToLoginIfneed()) {
      activity.setTitle(profUser.getName() + "' Profile");
      OthersProfileFragment fragment = new OthersProfileFragment();
      fragment.setProfileData(profUser);

      activity
          .getFragmentManager()
          .beginTransaction()
          .addToBackStack("otherProfile")
          .replace(R.id.content_frame, fragment)
          .commit();
      activity.findViewById(R.id.loading).setVisibility(View.GONE);
      activity.findViewById(R.id.content_frame).setVisibility(View.VISIBLE);

      new GetFollowsAsyncTaskProfile(profUser, activity, fragment).execute();
      new GetFollowedAsyncTaskProfile(profUser, activity, fragment).execute();
    }
  }
  @Override
  protected JSONObject doInBackground(User... arg0) {
    profUser = arg0[0];
    String response =
        HttpConnections.makeGetRequest(
            Constants.othersProfileUri + profUser.getId(), null, null, activity);

    JSONObject jsonO = null;
    try {
      jsonO = new JSONObject(response);

    } catch (JSONException e) {
      e.printStackTrace();
    }
    return jsonO;
  }