// Collections.sort(topicListContent, new
// Comparator<CommunitySpecificUserListBean>() {
// @Override
// public int compare(CommunitySpecificUserListBean lhs,
// CommunitySpecificUserListBean rhs) {
// SimpleDateFormat dateFormat = new
// SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
// Date date1 = null;
// Date date2 = null;
// try {
// date1 = dateFormat.parse(lhs.getTimeStamp());
// date2 = dateFormat.parse(rhs.getTimeStamp());
// } catch (ParseException e) {
// e.printStackTrace();
// }
// // 对日期字段进行升序,如果欲降序可采用after方法
// if (date1.before(date2)) {
// return 1;
// }
// return -1;
// }
// });
// Comparator<CommunitySpecificUserListBean>() {
// @Override
// public int compare(CommunitySpecificUserListBean lhs,
// CommunitySpecificUserListBean rhs) {
// SimpleDateFormat dateFormat = new
// SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
// Date date1 = null;
// Date date2 = null;
// try {
// date1 = dateFormat.parse(lhs.getTimeStamp());
// date2 = dateFormat.parse(rhs.getTimeStamp());
// } catch (ParseException e) {
// e.printStackTrace();
// }
// // 对日期字段进行升序,如果欲降序可采用after方法
// if (date1.before(date2)) {
// return 1;
// }
// return -1;
// }
// });