Ejemplo n.º 1
0
 public virtual [email protected] getMenuView(android.view.ViewGroup
                                                                 root)
 {
     if (mMenuView == null)
     {
         mMenuView = ([email protected])mInflater.inflate([email protected]
                                                                                     .layout.expanded_menu_layout, root, false);
         if (mAdapter == null)
         {
             mAdapter = new [email protected](this);
         }
         mMenuView.setAdapter(mAdapter);
         mMenuView.setOnItemClickListener(this);
     }
     return(mMenuView);
 }
Ejemplo n.º 2
0
		public virtual [email protected] getMenuView(android.view.ViewGroup
			 root)
		{
			if (mMenuView == null)
			{
				mMenuView = ([email protected])mInflater.inflate([email protected]
					.layout.expanded_menu_layout, root, false);
				if (mAdapter == null)
				{
					mAdapter = new [email protected](this);
				}
				mMenuView.setAdapter(mAdapter);
				mMenuView.setOnItemClickListener(this);
			}
			return mMenuView;
		}