https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
r

Robert

01/29/2019, 9:27 PM
There is no way to get the users Locale in mpp, is there? Other then asking 😛
d

Damiano Giusti

01/29/2019, 9:41 PM
I think you can use the expect/actual pattern, defining a Locale expected class and “actualizing” it by wrapping the system Locale classes (i.e. java.util.Locale)
👍 1
r

russhwolf

01/29/2019, 10:10 PM
Sounds like a good idea for a library someone could put together
👍 1
j

josephivie

01/29/2019, 10:34 PM
r

Robert

01/29/2019, 10:48 PM
@Damiano Giusti @russhwolf Yeah sure, but no trying to do thing twice. @josephivie thanks, that looks like a start, I'll join 🙂
j

josephivie

01/29/2019, 10:49 PM
Oh gosh, thank you so much @Robert. I’d rather not work alone. It should be nearly prepped for release - I use it now in other projects by publishing to Maven local.
r

Robert

01/29/2019, 10:51 PM
Oh, it is yours? 😎 Didnt even notice 🙂 I'll check it out tomorrow, off for some sleep now