public CategoryAdapter(Context ctx, ArrayList<Category> categories) { // TODO Auto-generated constructor stub this.ctx = ctx; this.categories = categories; inflater = (LayoutInflater) ctx.getSystemService(Context.LAYOUT_INFLATER_SERVICE); imageLoader = AppController.getInstance().getImageLoader(); }
private void makeImageRequest(NetworkImageView imgView, String Str_Url) { ImageLoader imageLoader = AppController.getInstance().getImageLoader(); if (imageLoader != null) imgView.setImageUrl(Str_Url, imageLoader); }