Beispiel #1
0
 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();
 }
Beispiel #2
0
 private void makeImageRequest(NetworkImageView imgView, String Str_Url) {
   ImageLoader imageLoader = AppController.getInstance().getImageLoader();
   if (imageLoader != null) imgView.setImageUrl(Str_Url, imageLoader);
 }