Crístian Viana

Migration to declarative UI in Android development

Ditch RecyclerView boilerplate forever. See how declarative UI simplifies building dynamic lists and animations in your Android app.

Migration to declarative UI in Android development
#1about 3 minutes

Understanding the shift from imperative to declarative UI

Imperative UI requires manually describing every state change, whereas declarative UI describes the desired end state and lets the framework handle the transitions.

#2about 2 minutes

Getting started with Jetpack Compose for Android

Jetpack Compose is Google's modern, declarative UI toolkit for Android that is bundled with your app, ensuring compatibility with older Android versions.

#3about 6 minutes

Building UIs with basic layouts and components

Combine fundamental layouts like Column, Row, and Box to build complex UIs, and create reusable custom components by simply defining new functions.

#4about 6 minutes

How Compose works with lifecycle, phases, and state

The UI updates through a lifecycle of composition and recomposition, driven by changes to State objects across three phases: composition, layout, and drawing.

#5about 2 minutes

Implementing animations for a more dynamic UI

Easily add basic animations like fades with AnimatedVisibility or animate any property, such as rotation or color, by using state animation functions.

#6about 3 minutes

Leveraging development tools in Android Studio

Accelerate UI development using tools like live previews with the @Preview annotation, animation debugging, and the Layout Inspector for real-time inspection.

#7about 6 minutes

Migrating an existing Android app to Compose

Adopt Jetpack Compose incrementally by starting with a simple screen, leveraging existing architecture like ViewModels, and using interoperability APIs when needed.

#8about 3 minutes

Overcoming challenges and realizing the benefits of Compose

While there is a learning curve and some missing components, migrating to Compose results in faster development, easier animations, and more maintainable custom UIs.

Related jobs
Jobs that call for the skills explored in this talk.
SabIna compys

SabIna compys
Vienna, Austria

Remote
20-100K
Intermediate
JavaScript
.NET
+1

Featured Partners

Related Articles

View all articles
CH
Chris Heilmann
All the videos of Halfstack London 2024!
Last month was Halfstack London, a conference about the web, JavaScript and half a dozen other things. We were there to deliver a talk, but also to record all the sessions and we're happy to share them with you. It took a bit as we had to wait for th...
All the videos of Halfstack London 2024!
CH
Chris Heilmann
Dev Digest 134 - Where pixels sing?
News and ArticlesWeAreDevelopers LIVE Data and Security Day is on Wednesday, 25/09/2024. Learn about OPC UA Updates, Best Practices for Using GitHub Secrets, Passwordless Web 1.5, Emerging AI Security Risks, Data Privacy in LLMs and get a chance to t...
Dev Digest 134 - Where pixels sing?
CH
Chris Heilmann
WeAreDevelopers LIVE days are changing - get ready to take part
Starting with this week's Web Dev Day edition of WeAreDevelopers LIVE Days, we changed the the way we run these online conferences. The main differences are:Shorter talks (half an hour tops)More interaction in Q&AA tips and tricks "Did you know" sect...
WeAreDevelopers LIVE days are changing - get ready to take part

From learning to earning

Jobs that call for the skills explored in this talk.