예제 #1
0
 public void onDisableUserRepostsComplete(String paramString1, int paramInt, String paramString2, boolean paramBoolean)
 {
   if (paramInt == 200)
   {
     ProfileFragment localProfileFragment = ProfileFragment.this;
     boolean bool;
     if (!paramBoolean)
     {
       bool = true;
       ProfileFragment.access$802(localProfileFragment, bool);
       ProfileFragment.this.getActivity().supportInvalidateOptionsMenu();
       if (!paramBoolean)
         break label112;
       if (!isUsernameValid())
         break label98;
     }
     label98: for (String str = ProfileFragment.this.mUser.username; ; str = ProfileFragment.this.getString(2131624416))
     {
       Util.showDefaultToast(ProfileFragment.this.getActivity(), ProfileFragment.this.getString(2131624254, new Object[] { str }));
       return;
       bool = false;
       break;
     }
     label112: Util.showDefaultToast(ProfileFragment.this.getActivity(), ProfileFragment.this.getString(2131624255));
     return;
   }
   Util.showDefaultToast(ProfileFragment.this.getActivity(), ProfileFragment.this.getString(2131624255));
 }
예제 #2
0
 public void onEnableUserRepostsComplete(String paramString1, int paramInt, String paramString2, boolean paramBoolean)
 {
   if (paramInt == 200)
   {
     ProfileFragment.access$802(ProfileFragment.this, paramBoolean);
     ProfileFragment.this.getActivity().supportInvalidateOptionsMenu();
     if (paramBoolean)
     {
       if (isUsernameValid());
       for (String str = ProfileFragment.this.mUser.username; ; str = ProfileFragment.this.getString(2131624416))
       {
         Util.showDefaultToast(ProfileFragment.this.getActivity(), ProfileFragment.this.getString(2131624256, new Object[] { str }));
         return;
       }
     }
     Util.showDefaultToast(ProfileFragment.this.getActivity(), ProfileFragment.this.getString(2131624257));
     return;
   }
   Util.showDefaultToast(ProfileFragment.this.getActivity(), ProfileFragment.this.getString(2131624257));
 }