Exemplo n.º 1
0
 public View getView(int i, View view, ViewGroup viewgroup) {
   if (view == null) {
     view = com.android.widget.popupmenu.c.b(a).inflate(0x7f040085, viewgroup, false);
   }
   viewgroup = (te) view;
   if (a.a) {
     ((ListMenuItemView) view).setForceShowIcon(true);
   }
   viewgroup.a(a(i), 0);
   return view;
 }
Exemplo n.º 2
0
 public View getView(int i, View view, ViewGroup viewgroup) {
   View view1 = view;
   if (view == null) {
     view1 = mInflater.inflate(MenuPopupHelper.ITEM_LAYOUT, viewgroup, false);
   }
   view = (MenuView.ItemView) view1;
   if (mForceShowIcon) {
     ((ListMenuItemView) view1).setForceShowIcon(true);
   }
   view.initialize(getItem(i), 0);
   return view1;
 }