Join Slack
Hey everyone! I’m having an issue with Java Collections .sort on a list from some kotlin code. Let...
# android
t
tyler
04/23/2019, 4:17 AM
Hey everyone! I’m having an issue with Java Collections .sort on a list from some kotlin code. Let me know if you see anything obvious!
https://stackoverflow.com/questions/55802573/abstractlist-unsupportedoperationexception-when-calling-sort-on-a-list
g
gildor
04/23/2019, 4:55 AM
Use
.sorted()
to sort immutable collection to create sorted copy of collection
4
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by