Foggy day
Android - Arraylist sort, collection sort 본문
Collections.sort(dayArrayList, new Comparator<ChartDayData>() {
@Override
public int compare(ChartDayData chartDayData, ChartDayData t1) {
return chartDayData.getDay().compareTo(t1.getDay());
}
});
'Android' 카테고리의 다른 글
Android(java) - Activity popup(background dim) (0) | 2021.03.04 |
---|---|
Android(java) - Depending on seekBar progress num, change view size using BottomSheet (0) | 2021.03.04 |
Android - MediaPlayer with surfaceView (0) | 2021.02.17 |
Android - screen orientation rotation error (0) | 2021.02.11 |
Android(안드로이드) - How to get debug/release SHA-1 (0) | 2021.02.11 |