Siro Davesdev.siro.co.ke·Jun 24, 2024Getting Started with Kotlin MultiplatformAfter addressing the different tools available for cross platform development in my earlier article: Cross-Platform Development in 2024 1/3 I have decided to go forward and share the little I have learnt while exploring the KMP tooling for building c...202 readsKotlin
Codefy LabsforCodefy Labs's Blogscodefylabs.hashnode.dev·Jun 6, 2024Adding Third-Party Dependencies in a KMPKotlin Multiplatform (KMP) allows you to share code between multiple platforms such as Android, iOS, and web applications. Adding third-party dependencies can significantly streamline development. Here's a straightforward guide to adding these depend...140 readsKMMKMM
Codefy LabsforCodefy Labs's Blogscodefylabs.hashnode.dev·Jun 6, 2024Shared BaseViewModel in Kotlin Multiplatform (KMP)In this blog post, we'll explore how to create and use a shared BaseViewModel in a Kotlin Multiplatform (KMP) project. This approach allows us to write shared logic for both Android and iOS platforms, making our codebase more efficient and maintainab...117 readsKMMKMM
Codefy LabsforCodefy Labs's Blogscodefylabs.hashnode.dev·Jun 6, 2024Event and State Management in KMPIn this blog post, we'll delve into creating a shared LoginViewModel using Kotlin Multiplatform (KMP), enabling us to write shared business logic for both Android and iOS platforms. We'll also cover the platform-specific UI implementations using Jetp...145 readsKMMKMM
Codefy LabsforCodefy Labs's Blogscodefylabs.hashnode.dev·Jun 6, 2024Setting Up Your KMP EnvironmentEmbarking on the Kotlin Multiplatform journey can be a game-changer for your development workflow, allowing you to share code across different platforms seamlessly. This guide will walk you through the necessary steps to set up your environment for K...74 readsKMMKMM
Codefy LabsforCodefy Labs's Blogscodefylabs.hashnode.dev·Jun 6, 2024Expect and Actual in KMPKotlin Multiplatform is a powerful tool that allows you to write shared code across multiple platforms while still accessing platform-specific APIs. The key to this magic lies in the expect and actual declarations. Here’s a practical guide to underst...26 readsKMMKotlin
Codefy LabsforCodefy Labs's Blogscodefylabs.hashnode.dev·Jun 6, 2024Android Platform Actual Implementation in KMPIn our journey exploring Kotlin Multiplatform (KMP), we’ve arrived at an exciting topic: the actual implementation for the Android platform. This might sound technical, but We promise to make it as simple and relatable as possible. Whether you're an ...KMMKMM
Codefy LabsforCodefy Labs's Blogscodefylabs.hashnode.dev·Jun 6, 2024IOS Platform Actual ImplementationIn today’s mobile development landscape, Kotlin Multiplatform (KMP) is a powerful tool that allows developers to write shared code for both Android and iOS platforms. This approach significantly reduces code duplication, ensures consistency, and spee...KMMKotlin Multiplatform
Codefy LabsforCodefy Labs's Blogscodefylabs.hashnode.dev·Jun 6, 2024Jetpack Compose for Android in KMPJetpack Compose, Google's modern toolkit for building native Android UIs, has revolutionized the way developers create user interfaces. Its declarative approach, which allows developers to define UIs programmatically, simplifies the development proce...100 readsKMMKotlin Multiplatform
Codefy LabsforCodefy Labs's Blogscodefylabs.hashnode.dev·May 16, 2024Why Kotlin MultiplatformIn the world of tech, there's a cool tool called Kotlin Multiplatform that acts like a magic wand for developers. Imagine being able to write your app just once and then poof! It works everywhere — on iPhones, Android phones, desktop, and even websit...171 readsKMMKMM