Hi,
I have a list of CSBuilder objects, and I need to sort the items.
CSBuilder objects starts with some format like "x, y" and followed by some fontawesome icons I load into a customlistiview (b4xlisttemplate).
List.Sort throws an error (csbuilder cannot be cast to java comparable)
List.SortType("ToString", Asc) also throws an error.
I've tried converting the csbuilder objects to strings and the sorting works, but I lost the fontawesome icons.
Any ideas?
Thank you,
I have a list of CSBuilder objects, and I need to sort the items.
CSBuilder objects starts with some format like "x, y" and followed by some fontawesome icons I load into a customlistiview (b4xlisttemplate).
List.Sort throws an error (csbuilder cannot be cast to java comparable)
List.SortType("ToString", Asc) also throws an error.
I've tried converting the csbuilder objects to strings and the sorting works, but I lost the fontawesome icons.
Any ideas?
Thank you,