Jetpack Compose or XML for a job in 2022

XML

In Android, the XML is used to implement UI-related data, and it’s a lightweight markup language that doesn’t make layout heavy. XML only contains tags, while implementing they need to be just invoked.

Jetpack Compose

Is Android’s modern toolkit for building native UI. It simplifies and accelerates UI development on Android. Quickly bring your app to life with less code, powerful tools, and intuitive Kotlin APIs.

Job opportunities

When we’re searching on LinkedIn for Android Developer all over the world we 136.598 results, but when we search for Jetpack Compose we get only 792 results.

What project managers think

Probably you’re asking why are so less jobs that require Jetpack Compose. I’ve talked with a Project Manager of an Android team and he said “If we already know XML and the client doesn’t require Jetpack Compose why we should learn it”. Sometimes many companies aren’t fascinated about new frameworks because the old ones are still working.

Big companies

A year have passed since is stable and some big companies like Twitter, Airbnb, Monzo, Square, Cuvva, Lyft and Google used it too for Play Store, understood the fact that Jetpack Compose is the future of Android Development and I think that the small companies will start to migrate their UI to Jetpack Compose slowly in a few years.

My advice

If you want to get a job very fast try to learn XML and build some projects with it and if you want to make a good impression to the interviewer you can try to migrate some screens to Jetpack Compose. If you do this you’ll learn from both worlds and you’ll be able to apply on jobs that require both of them.

Conclusion

Google took them three years to officially declare Kotlin as their language and introduced a UI tooling kit that can run just in Kotlin. Similarly, within a few years, Compose will be the preferred way of dealing with UI.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store