Skip to content
0:00 / 0:00

#composemultiplatform#kotlinmultiplatform#jetpackcompose

Building a Compose Multiplatform App From Scratch - Understanding the Structure

Mohamad Rejeb

1.2K subscribers • 2 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Mohamad Rejeb
  • Linked in the descriptionMohamedRejeb/cmp-youtube-tutorial
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Intermediate. Assumes working knowledge.

12K views3 years ago1 recommendation

Mobile developmentProgramming languagesKotlinFlutter and React NativeAndroid and Jetpack Compose

Mohamad Rejeb demonstrates how to migrate an empty Android project to a multiplatform Compose app without templates.

In this tutorial you'll learn to build a working Compose Multiplatform app that runs on Android, iOS, Desktop and Web from Scratch! We're not going to use any templates, instead we are going to start from an empty Android project, and we will do all the migration steps manually to understand every part of the Kotlin Multiplatform project structure. After watching this tutorial, you will have a more solid understanding of Kotlin Multiplatform and Compose Multiplatform, and you will be able to create a complete Kotlin Multiplatform project manually. Project Source Code: github.com/MohamedRejeb/cmp-youtube-tutorial My social Links: Github: github.com/MohamedRejeb LinkedIn: linkedin.com/in/MohamedRejeb/ Twitter: twitter.com/MohamadRejeb - Intro - Create an empty android project - Add Kotlin multiplatform and Compose multiplatform plugins - Create new 'Common' multiplatform module - Move code from android module to common module - Create new `desktop` module for the Desktop App - Create a new iOS project and link it to common module - Write platform-specific code using expect/actual - Run Compose multiplatform on iOS - Create new 'web' module for the Web App - Final preview

Why it's here

1 person recommends this

What people say. Recommended as a deep-dive tutorial for understanding the manual setup and structure of a Kotlin Multiplatform project.

u/mohamedbenrjebin r/Kotlin • Recommends

Build a Compose Multiplatform App From Scratch - Deep structure understanding I'm really excited to share with you my first youtube tutorial about Compose Multiplatform, you'll be able to create a Compose Multiplatform project from Scratch without any template and have a deep understanding of the KMP project structure We will start by an empty Android application and migrate it, so it's a really helpful guide for migrating existing Android apps to Multiplatform (Android, iOS, Desktop, Web) Youtube video link: [video