Пример #1
0
 public MatchListAdapter(Context context, ArrayList<Match> match) {
   this.match = match;
   this.originalMatch = match;
   this.context = context;
   millisCurrent = DateTime.now(DateTimeZone.UTC).getMillis();
   notifyTime = BusProvider.getNotifyTime();
 }
Пример #2
0
    @Override
    protected void publishResults(CharSequence constraint, FilterResults results) {

      BusProvider.getBusInstance()
          .post(new FilteredMatchesEvent(constraint, (ArrayList<Match>) results.values));
    }