Is jetpack and jetpackCompose a different thing?
# android
n
Is jetpack and jetpackCompose a different thing?
google 1
c
Yes. Android Jetpack is just a bunch of the new libraries and API's you might have been hearing for these last years, like Paging Library, DataStore, or even
LiveData
and `ViewModel`s. JetpackCompose is the new UI toolkit to build Android UI, let's make this short: with kotlin and not with XML. Normally, it's just compose, but since Compose is part of JetPack, it's called Jetpack Compose.
You may also refer to the PagingLibrary as Jetpack Paging library and nobody would be surprised 🙈
n
Correct me if I am wrong, flutter is the alternative to jetpack compose, right?
c
Not yet. With compose you can do native Android at the moment. As far as I know Kotlin Multi Platform is working with Compose to make it run just like flutter runs. However, there is still work to do. Compose is still not mature. Momentarily, for android is in alpha state
n
Okay! Thanks for the info @coroutinedispatcher
👍 1
b
i know that jetpack compose is in alpha state. Do you recommend it to use it in a productive app? Or do you recommend waiting for the official state to come out?
google 2
🚫 5
a
#compose
b
is it a resounding no? :(
s
correct me if I’m wrong, but isn’t alpha state pretty much self-explanatory?
c
It's very debatable though. Compose it's an API on top of which you have to work with. It's not the software you expose to the user
s
@coroutinedispatcher you are right
But you should be aware of and also your team that you using alpha software
b
I understand ..... thank you very much for your answers, I will wait for compose release state
👍 2
c
Or if you want so much to present compose in production, do veryyyy tiny and small pieces of change. Compose is interoperable with the current thing. However, you cannot use it outside the Android Studio Canary yet.
b
is that where I work, the new development of the app is going to begin, so we are analyzing what technologies to start, and they liked jetpack compose a lot, so they asked me how safe it was to start the app with this library
n
I didn't know that jetpack compose only works in canary version!
c
I think you should better ask an internal google engineer or wait for some AMA on reddit. This is a tricky question IMO.
j
If your app is simple and you test it I think its OK to deploy on alpha libs. Be aware that APIs are likely to change will will require rework