09/07/2020, 1:39 PM With the new DataStore library, it makes me wonder - will incorporating first party support for coroutines in new jetpack libraries be the path Google wants to follow now? I mean, most of the time we had sidekick libraries for coroutines/rxjava support and now the DataStore api is built with
but still, having a first (?) library with direct coroutines based api is an interesting step

Giorgos Neokleous

09/07/2020, 1:52 PM
In IO2019, @yigit mentioned that Jetpack will have "First class Coroutines support"

I am not sure about the DataStore API, but I would expect some kind of ktx version for interop with other reactive frameworks (RX). The library is still in early stages, so I maybe on the first iteration they are gathering feedback before extending the API

Adam Powell

09/07/2020, 2:40 PM
Coroutines is our recommended solution for asynchronous programming on Android.
Yes, we will continue to expand the use of coroutines in jetpack APIs
Paging3 is also heavily based on coroutines and Flow in particular
#compose is heavily invested in it as well and will become more so