# Migrating to Jetpack Compose: a step by step journey

DevFeed: [Migrating to Jetpack Compose: a step by step journey](<https://devfeed.tech/articles/migrating-to-jetpack-compose-a-step-by-step-journey-25571.md>)

Original publisher: [Read original article](<https://www.marcogomiero.com/posts/2023/migration-to-compose/>)

Author: Marco Gomiero

Published: 2023-05-12T00:00:00Z

Content type: tutorial

Language: en

Sources: [Posts on Marco Gomiero](<https://devfeed.tech/sources/posts-on-marco-gomiero.md>)

Topics: [Jetpack Compose](<https://devfeed.tech/topics/jetpack-compose.md>), [migration](<https://devfeed.tech/topics/migration.md>), [App](<https://devfeed.tech/topics/app.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Gradle](<https://devfeed.tech/topics/gradle.md>), [Library](<https://devfeed.tech/topics/library.md>), [XML](<https://devfeed.tech/topics/xml.md>)

Tags: [app](<https://devfeed.tech/tags/app.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [jetpack-compose](<https://devfeed.tech/tags/jetpack-compose.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [migration](<https://devfeed.tech/tags/migration.md>), [xml](<https://devfeed.tech/tags/xml.md>)

## AI overview

A step-by-step journal of migrating the Secure QR Reader Android app from the legacy View system to Jetpack Compose. It covers the migration approach, Gradle and dependency setup, Compose Compiler and Kotlin compatibility, and reusing an existing XML theme with Material Theme Adapter. The author notes that the migration and some dependencies are dated.

## Source excerpt

Some time ago, I decided to migrate Secure QR Reader to Jetpack Compose (in the rest of the article, I will call it Compose, for brevity). QR Reader Secure is a simple QR Reader that I developed some years ago after a failed search for a simple and secure reader for my parents that doesn't require sneaky, strange, and useless permissions. The app was basic and fully working with the old View system, but I wanted to move to Compose to experience the entire migration process.