Ejemplo n.º 1
0
 public void onPrepareOptionsMenu(Menu paramMenu)
 {
   MenuItem localMenuItem = paramMenu.findItem(2131362197);
   if (localMenuItem != null)
   {
     if (!this.mIsUserBlocked)
       break label57;
     localMenuItem.setTitle(2131624392);
   }
   while (true)
   {
     this.mHideRevines = paramMenu.findItem(2131362199);
     setRevineOptionText(this.mUser, this.mRepostsEnabled);
     return;
     label57: localMenuItem.setTitle(2131624014);
   }
 }
Ejemplo n.º 2
0
 void bindUserData(VineUser paramVineUser)
 {
   if ((paramVineUser.hasFollowApprovalPending()) && (!this.mHeaderAdded))
   {
     LinearLayout localLinearLayout = (LinearLayout)LayoutInflater.from(getActivity()).inflate(2130903093, null, false);
     if (this.mListView != null)
     {
       this.mListView.addHeaderView(localLinearLayout);
       this.mPendingFollowAccept = ((RelativeLayout)localLinearLayout.findViewById(2131361949));
       this.mPendingFollowAccept.setOnClickListener(this);
       this.mPendingFollowReject = ((RelativeLayout)localLinearLayout.findViewById(2131361946));
       this.mPendingFollowReject.setOnClickListener(this);
       this.mFollowHeader = localLinearLayout;
       this.mHeaderAdded = true;
     }
     this.mFollowHeader.setVisibility(0);
   }
   this.mRepostsEnabled = this.mUser.areRepostsEnabled();
   setRevineOptionText(paramVineUser, paramVineUser.areRepostsEnabled());
   this.mProfileHeaderAdapter.bindUser(paramVineUser);
   updateTabSelection();
 }