Android Question sort with type ?

tufanv

Expert
Licensed User
Longtime User
Hello

I checked all the sorttype topics but couldnt find my answer. I am using httpjob and within the jobdone
I have to add around 100 text and value combination to list . Later I want to sort them by value.

How can i add to list with 2 fields like name and value and later sort it by value ? My brain has freezed :)

Thanks
 

DonManfred

Expert
Licensed User
Longtime User
Create a Custom Type
Put name and Value To the CustomType
Add the Objects To a list
Use list.sorttype
 
Upvote 0
Top