Sort listview android
Ngày đăng:
06/01/2022
Trả lời:
0
Lượt xem:
76
So I have a listview where I wanted to sort the NumberOfRecords in descending order. I have a custom array adapter but I called my sorting class before I place a data in my ArrayList, this my Asynctask receiving JSON: And here's my sorting class: } But the result I'm getting is: 5 15 14 0 0Is my sorting implementation wrong? Or should I parse it to Integer before return? |