Which one do you recommend to build Android UI? Fl...
# android
s
Which one do you recommend to build Android UI? Flutter or Jetpack Compose? And what are some of the benefits Compose has over Flutter? Do you have free resources to learn Compose?
s
Well, the obvious benefit of flutter is it's multi-platform. But since I like to do android native stuff I am pretty excited about jetpack compose.
❤️ 2
You can start learning compose from the codelabs, but be ready to keep updating cause compose is changing quite rapidly. You can also go through the code of JetNews app. you will find jetnews here https://github.com/android/compose-samples/tree/master/JetNews
z
Compose is not production ready yet, and won't be until 2021, so I don't think it's really an option if you're trying to ship an app in the near future. But when it is ready, some things I like about compose over flutter is it's much more concise (no widget classes, weird state boilerplate) and it's in kotlin which means you automatically have access to the full Java/Android ecosystem. Compose itself (without the UI bits) is also much a much more general tool for managing mutable trees of any type, so it's really an entirely different thing than flutter in that sense. Compose will theoretically be able to support multiplatform as well, although I don't think that's a high priority for the initial release, and I haven't heard anything about actual iOS support, so I wouldn't even think of it as "multiplatform" for now.
❤️ 1