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.
#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.
Matching moments
03:37 MIN
A deep dive into Google's Jetpack Compose framework
Mobile at a Crossroads: The Declarative UI App Revolution
01:19 MIN
Why the future of mobile app development is declarative
Mobile at a Crossroads: The Declarative UI App Revolution
01:08 MIN
Improving collaboration between iOS and Android teams
Mobile at a Crossroads: The Declarative UI App Revolution
02:14 MIN
The advantages of first-party declarative UI frameworks
Mobile at a Crossroads: The Declarative UI App Revolution
12:29 MIN
Live demo building a counter in Jetpack Compose and Swift UI
Mobile at a Crossroads: The Declarative UI App Revolution
04:34 MIN
The fundamental shift from imperative to declarative UI
Mobile at a Crossroads: The Declarative UI App Revolution
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...
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...
Chris Heilmann
Micro Components - a different approach to a simpler component-based webThere has been a lot of heated discussion lately in the web community about component based development. One side argued that Web Components are a standard we should follow whereas others complained that they still lag behind in what frameworks offer...
Chris Heilmann
WeAreDevelopers LIVE days are changing - get ready to take partStarting 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...
From learning to earning
Jobs that call for the skills explored in this talk.