示例#1
0
 public override void bindItemView([email protected] item,
                                   [email protected] itemView)
 {
     itemView.initialize(item, 0);
     [email protected] menuView = ([email protected]
                                                            )mMenuView;
     [email protected] actionItemView = ([email protected]
                                                                      )itemView;
     actionItemView.setItemInvoker(menuView);
 }
示例#2
0
 public override android.view.View getView(int position, android.view.View convertView
                                           , android.view.ViewGroup parent)
 {
     if (convertView == null)
     {
         convertView = this._enclosing.mInflater.inflate(this._enclosing.mItemLayoutRes, parent
                                                         , false);
     }
     [email protected] itemView = ([email protected]
                                                                    .ItemView)convertView;
     itemView.initialize((([email protected]) this.getItem(position
                                                                                  )), 0);
     return(convertView);
 }
示例#3
0
 public override android.view.View getView(int position, android.view.View convertView
                                           , android.view.ViewGroup parent)
 {
     if (convertView == null)
     {
         convertView = this._enclosing.mInflater.inflate([email protected]
                                                         .ITEM_LAYOUT, parent, false);
     }
     [email protected] itemView = ([email protected]
                                                                    .ItemView)convertView;
     if (this._enclosing.mForceShowIcon)
     {
         (([email protected])convertView).setForceShowIcon(true
                                                                                      );
     }
     itemView.initialize((([email protected]) this.getItem(position
                                                                                  )), 0);
     return(convertView);
 }