Mark
12/16/2023, 5:15 AMsortedBy
inline function from a Composable context, why is the selector lambda not also in a Composable context?
// in a composable context
items.sortedBy {
// not in a composable context
...
}
As a workaround, I suppose I should build a map of these lambda values and then refer to the map from within the lambda.romainguy
12/16/2023, 5:21 AMMark
12/16/2023, 5:22 AMromainguy
12/16/2023, 5:26 AMMark
12/16/2023, 5:29 AMcrossinline
because there is no such problem with map
or associateWith
shikasd
12/16/2023, 2:03 PMMark
12/16/2023, 2:08 PM