Example #1
0
 public CommonAdapter(Context context, List<News> list) {
   this.context = context;
   this.newsList = list;
   inflater = LayoutInflater.from(context);
   options = Options.getListOptions();
   // initPopWindow();
   initImageLoader(context);
 }
Example #2
0
 public SnippetAdapter(Context context, List<Snippet> recommendList) {
   this.context = context;
   this.newsList = recommendList;
   inflater = LayoutInflater.from(context);
   options2 = Options.getListOptions();
   optionsCircle = OptionsCircle.getListOptions();
   // initPopWindow();
   initImageLoader(context);
 }