When Should You Migrate to Jetpack Compose? - Android Development

preview_player
Показать описание
When is the right time to migrate an XML project to Compose? In this video I'll share my opinion and experience.

💻 Let me be your mentor and become an industry-ready Android developer in 10 weeks:

⭐ Courses with real-life practices
⭐ Save countless hours of time
⭐ 100% money back guarantee for 30 days
⭐ Become a professional Android developer now:

Get my FREE PDF about 20 things you should never do in Jetpack Compose:

Regular programming advice on my Instagram page:

Join my Discord server:
Рекомендации по теме
Комментарии
Автор

I'm still trying to convince my company to migrate from Java to Kotlin😂😂

Wazza
Автор

If you are a solo dev or a freelancer, using latest tech like Kotlin and Jetpack Compose is the right track especially following what the Google does. I am a freelancer and sometimes I came across with people using old tech like Java and XML. Although I can convince some. I am not really that good but one time, I have to deep dive with AOSP, and man.. I just realize how Java is so essential in Android Development because AOSP is mostly written in it. Just grateful that I started with Java for years. Some companies still using Java/XML so just adapt to everything. It's very good if you have a wider range of knowledge from Android Development. All love.

TeinOcnalb
Автор

Sharing with you guys the experience of migrating a whole app to Jetpack Compose in 2021 / 2022. Our company was going through a process of changing the whole UI to a new `whitelabel` style, so every screen changed, with that, I took the opportunity to change the ui codebase to compose, since we were going to create new components anyway. It took almost a year, but it definitely paid off. Every android dev took the compose pathway from google to learn compose and they started thinking more about reusable components. The whole app is in compose + fragments, the compose interoperability with xml help us a lot, specially in the video screen section of the app, which compose alone didn't work that well with video/services. And while I was migrating most of the codebase to compose, like Philipp said, new features were being developed in compose. I really recommend this approach if you company happens to be in a similiar state.

androidcodebr
Автор

Kotlin / Jetpack Compose / Room / Hilt -&- Swift / SwiftUI / SwiftData are the tip of the iceberg (only the start). Both Google and Apple are building amazing Dev Environments and the sooner you get this tech stack the better. For us this is much better than Java/XML, UIKit, React Native, Flutter ... or anything else

SiamakAshrafi
Автор

I’ve been working on a pure Compose KMP project and it’s been amazing

No viewmodels!

Just functions and minimal classes (mostly just data holders )

And iOS works out of the same code base

It’s still alpha but already looks very promising!

ChrisAthanas
Автор

You should do what is profitable for yourself if you are a indie developer or your company if you are employed somewhere. At the end, as long as you create a useful app that works seamlessly across multiple devices and does what is supposed to do, whether you use Compose, XML or Chinese to write it is just secondary and your preference. There is nothing better than the other, is just matter of preference.

nah
Автор

Hey Phillips! Can you bring a crash course on Jetpack Compose in one video for those who want to get started? It would help us get with basics and fundamentals.

scitechverse
Автор

Pushing team in this direction now. All new development should be Compose.

markusmcgee
Автор

Aún siendo Compose un paradigma relativamente nuevo, está muy avanzado y realmente tiene muchos beneficios en comparación con XML, no puedo esperar a lo que viene en el futuro! ♥

jhovanylopez
Автор

Just mastered XML last year and created a module for theming using Material Design Component and some live templates for view based component, so for me I will still use XML since that is where I can deliver in a fastest way without worrying about stability. Will soon jump to Compose when things gets more mature, less experimental API, more MDC support and KMM. For now I will instead spend my time learning other more important tech stack since Compose as of now is more of a DX, it’s not like I cannot do the same thing if I stick with view base. Company and user doesn't care at all what framework is being used for UI which is just like what you’ve said on the awesome podcast or interview of you with the JetBrains team.

bitwisedevs
Автор

My company asked me to make further apps like one of Airtel we got and one other project in the MVVM. I created the Clean architecture and they said make it a practice and will follow for the future projects. Otherwise like others I worked on java projects 😄😄

lakshaymudgal
Автор

I've been doing new screens in Compose. And will probably move less complicated things to Compose when I need to maintain them. But there are a few rather complicated screens, that I'm leery of converting. It may just be that I don't know Compose well enough to do some of the more advanced things.

johngray
Автор

668th...Thanks Phillipp. I hope Google will not deprecate the XML soon. My company is heavily using it. It would be very expensive for the company to convert to JC. Im hoping there is an AI that can convert XML to JC.

jopadjr
Автор

I dont like all the nested code of Jetpack Compose, looks cumbersome to me. With xml, i can easily find the tags i need by its id and change its properties.

alexmarchand
Автор

People here (especially in Pakistan, India & Bangladesh etc) still likes java. & here Phillips is talking about migrating to compose 😂

devatrii
Автор

An online teacher tells us that we need to learn now the latest stuff. Yeah sure what else would he say.
I'm not learning compose as there are still so many bugs in it (even after the childhood period of 5 years now over) and google has moved it's energy away from improving. Better a stable development with XML layout views.

llothar
Автор

Hi bro can you create a tutorial for leanback Android Tv

DeepakTechIndia
Автор

This completely breaks the MVC model. I can't convince myself to use it.

FoHsi
Автор

Please make videos about Kotlin Multiplatform stable version

achmadichzan
Автор

Man jetpack compose scrolling is awful...

forno_nicolas