Exemple #1
0
 @Override
 public Object getItem(int position) {
   return ArrayUtil.isEmptyList(studentsList) ? null : studentsList.get(position);
 }
Exemple #2
0
 @Override
 public int getCount() {
   return ArrayUtil.isEmptyList(studentsList) ? 0 : studentsList.size();
 }