Beispiel #1
0
 public List<Question> getSortedQuestions(Context context) {
   List<Question> temp = new ArrayList<Question>(this.questions);
   DistanceComparator compare = new DistanceComparator();
   compare.setContext(context);
   Collections.sort(this.questions, compare);
   return temp;
 }