Skip to content Skip to sidebar Skip to footer

Sorting List Having Itembean By Date?

how to sort a list by date in android List listIB = new ArrayList(); for(int i=0; i

Solution 1:

use SimpleDateFormat to parse the date string, get the Date object and confront the time in milliseconds in a comparator.


Post a Comment for "Sorting List Having Itembean By Date?"