Exemplo n.º 1
0
 public DrawerListAdapter(Context context, int drawerMenuList, int drawerMenuImages, DrawerListBadges badges)
 {
     _Context = context;
     _badges  = badges;
     //_drawerMenuList = drawerMenuList;
     //_drawerMenuImages = drawerMenuImages;
     _inflater = ( LayoutInflater )context.
                 GetSystemService(Context.LayoutInflaterService);
     _drawerMenuList   = _Context.Resources.GetStringArray(drawerMenuList);
     _drawerMenuImages = _Context.Resources.ObtainTypedArray(drawerMenuImages);
 }
Exemplo n.º 2
0
 public DrawerListAdapter(Context context,int drawerMenuList, int drawerMenuImages,DrawerListBadges badges)
 {
     _Context = context;
     _badges = badges;
     //_drawerMenuList = drawerMenuList;
     //_drawerMenuImages = drawerMenuImages;
     _inflater = ( LayoutInflater )context.
         GetSystemService(Context.LayoutInflaterService);
     _drawerMenuList = _Context.Resources.GetStringArray (drawerMenuList);
     _drawerMenuImages = _Context.Resources.ObtainTypedArray (drawerMenuImages);
 }