Example #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);
 }
Example #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);
 }