
Explore Kotlin's null safety by using nullable and non-nullable types, and learn how the lateinit keyword postpones initialization until you assign a value, avoiding uninitialized property access exception.
Update the Kotlin plugin in Android Studio if your IDE isn’t the latest version; go to settings, search for Kotlin, and verify whether an update is needed.
Learn to bootstrap a compose multi-platform project with the KMP wizard from JetBrains, generating an initial calculator app and configuring its name and package for Android and iOS.
Open the project in Android Studio, review Gradle build and folder structure, focusing on the compose app, iOS app, and src; delete the sample UI code to start from scratch.
Design flat calculator buttons with a compose function, using modifiers, text, background and content colors, and onClick to pass the button label, preparing digit and operator buttons.
Show how to run the calculator app in an iOS emulator with a consistent operator weight, then outline styling and color palette management for modifiers in part 2.
Define a cohesive app look with a material theme and a composable called team colors that returns a color set: gray, dark primary variant, and orange secondary for operator buttons.
Style the calculator buttons with team colors to match the design, then implement the logic to make the user interface function like a calculator.
Reuse a single composite onboarding structure across screens to maintain consistent next button, text, and image shapes and positioning.
Implement onboarding screens for DishPal using compose multiplatform, creating image headers, string resources, and a reusable next button, then adjust paddings and alignments for Android and iOS.
Present the main screen after onboarding, featuring a header, a screen container, and button navigation for a multiplatform iOS and Android app.
Import svg icons from the Figma design using the Android resource manager, move them to compose resources drawables, and access them in shared code after the build.
Explore how the home screen, header, screen container, and bottom nav bar are wired together, with onboarding advancing to home and the navigation view model displaying the main screen.
Load posts in the home view model's init method to populate the feed and add image banner titles, icon resources for like, share, and comments, with tint and card padding.
Run the app, fix serialization by marking data classes as serializable and adding a default create user ID; the serializer analyzer errors clear and the same results appear on iOS.
Define platform-specific instances of the local database using expect actuals, wiring the Android application context to initialize a Room database in platform-specific code.
Explore deep linking with a stateflow platform event, update and handle it via an onEvent method across SwiftUI and Kotlin Compose, guiding entry url to a destination and manifest schema.
Implement gps location access by adding the moko permission library, configuring a permission controller and factory, and checking and requesting location permission in the home view model.
In this comprehensive Udemy course, we'll embark on an exciting journey through three main sections designed to equip you with the skills and knowledge needed to build native apps for both iOS and Android platforms.
This course is designed in a way that non-Android developers also can start coding Compose Multiplatform. The first section, will dive into the essentials of Kotlin, covering everything needed to familiarize with Kotlin. Whether you're new to Kotlin or looking to deepen your understanding, this section will provide you with a solid foundation for the rest of the course.
Next, we'll explore the power of Compose – Google's modern UI toolkit for building native user interfaces. You'll learn how to leverage Compose's declarative approach to design beautiful and dynamic UIs that adapt seamlessly across different devices and screen sizes. We will build a sample app together from scratch.
Finally, in the last part of the course, we'll go even deeper by building a Social Network app from scratch. You'll learn how to approach a UI design, and implement a fully functional app that integrates with backend services, saves data to a local Room database, and handles user navigation, consumes location services from both Android and iOS. This section showcases the full potential of Compose Multiplatform Mobile.
Whether you're a seasoned developer looking to expand your skill set or a newcomer eager to dive into the world of cross-platform app development, this course is your gateway to success. Join me on this exciting journey, and let's unlock the potential of Compose Multiplatform together!