Ejemplo n.º 1
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();
 }