Ejemplo n.º 1
0
 private void initProfile()
 {
   if (this.mFeedAdapter.getCursor() == null)
   {
     initLoader(1);
     initLoader(2);
   }
   if (this.mUser != null)
   {
     bindProfileDataAndCounts();
     hideProgress(3);
     if (this.mProfileHeaderAdapter != null)
       if (this.mCurrentTab != 2)
         break label181;
   }
   label181: for (int i = 2131362058; ; i = 2131362056)
   {
     this.mProfileHeaderAdapter.changeSelectedTab(i);
     return;
     this.mFetchFlags = (0x1 | this.mFetchFlags);
     if (this.mIsMe)
     {
       addRequest(this.mAppController.fetchUsersMe(this.mUserId));
       SharedPreferences localSharedPreferences = Util.getDefaultSharedPrefs(getActivity());
       int j = localSharedPreferences.getInt("profile_fetch_count", 0);
       if (j % 5 == 0)
         addRequest(this.mAppController.fetchFriends(this.mUserId));
       localSharedPreferences.edit().putInt("profile_fetch_count", j + 1);
       break;
     }
     addRequest(this.mAppController.fetchUser(this.mUserId));
     break;
   }
 }
Ejemplo n.º 2
0
 public void onMoveTo(int paramInt)
 {
   super.onMoveTo(paramInt);
   setup();
   bindProfileDataAndCounts();
 }