I am trying to put my code from B4A into Android Studio.
I am stuck with Type and comparator. In B4A i do it very easy .
B4X:
Dim field As Person
field.date = date
field.description = description
field.amount = amount
list1.Add(field)
list1.SortType("date", False)
For i = 0 To list1.Size - 1
Dim field2 As Person
field2 = list1.Get(i)
Yes of course, i know that.
I am working with B4A since 2013, and it is my no.1 programming tool. But now i must compile few line of code into java. So i was just wondering if someone can help.
Thanks again, so please don' t hold that against me.