예제 #1
0
 public ChartListAdapter(Activity activity) {
   this.setDownloadInfos(new ArrayList<AppStats>());
   this.layoutInflater = activity.getLayoutInflater();
   this.activity = activity;
   this.scale = activity.getResources().getDisplayMetrics().density;
   this.dateFormat = new SimpleDateFormat(Preferences.getDateFormatShort(activity));
 }
예제 #2
0
 @Override
 public void notifyDataSetChanged() {
   this.dateFormat = new SimpleDateFormat(Preferences.getDateFormatShort(activity));
   super.notifyDataSetChanged();
 }