https://funkymuse.github.io/FunkyMuseBlog containing Kotlin and Android goodies. 2024-03-01T17:15:39+01:00 FunkyMuse https://funkymuse.github.io/ Jekyll © 2024 FunkyMuse /assets/img/favicons/favicon.ico /assets/img/favicons/favicon-96x96.png SQLDelight in Kotlin Multiplatform (KMP)2024-02-13T22:20:00+01:00 2024-02-17T15:32:10+01:00 https://funkymuse.github.io/posts/sql-delight-kmp/ FunkyMuse One essential aspect of many applications is persistent data storage and SQLDelight is a popular library for managing database interactions in Kotlin projects. In this blog post, we’ll walk through the process of integrating SQLDelight into a KMP project, enabling you to efficiently manage your database interactions across various platforms (Android, iOS, Desktop). What is SQLDelight? SQLD... Jetpack Preferences DataStore in Kotlin Multiplatform (KMP)2023-12-16T15:15:00+01:00 2024-02-16T10:19:00+01:00 https://funkymuse.github.io/posts/create-data-store-kmp/ FunkyMuse I decided to delve into Kotlin Multiplatform (KMP), and I quickly became hooked. That was a year ago, and I was initially hesitant due to the numerous build.gradle configurations that made my head spin. However, one year later, things are looking promising for the ecosystem, especially now that it’s stable. I love the technology and how it provides a way to craft a multi-platform target so... Oh no, another type safe Compose Navigation library for Android2023-11-23T00:20:00+01:00 2024-02-16T10:19:00+01:00 https://funkymuse.github.io/posts/nav-type-safe/ FunkyMuse Intro We live in a society where another day brings out the most necessary thing for an Android developer, another Navigation library. But this isn’t one, or it kinda is, but with a twist, a type safe abstraction over the Android Navigation Component for Compose. The opinions in this article are mine and reflect my experience, as every article is opinionated, so is this one. Why? I was s... Abstract your Android Navigation for Compose, part 32023-05-17T17:02:00+02:00 2024-02-16T10:19:00+01:00 https://funkymuse.github.io/posts/nav-abstraction-part-3/ FunkyMuse Intro Welcome to the last part of the navigation abstraction in Compose using Google’s navigation component, in this blog post we’ll actually see the implementation of the abstracted code from Part #2. Implementation For the implementation we would utilize Hilt to help us, why? Compile time checks We can easily navigate through the code and it’ll help us scale when app gets large, but... Abstract your Android Navigation for Compose, part 22023-05-17T17:01:00+02:00 2024-02-16T10:19:00+01:00 https://funkymuse.github.io/posts/nav-abstraction-part-2/ FunkyMuse Intro Welcome to the second part of the navigation abstraction in Compose using Google’s navigation component, in this blog post we’ll see the abstraction in code. Abstraction In order to understand this code, it’s highly recommended to read the Part #1. We have to create an abstraction for: Graph (with starting destination and unique route/ID) Destination (with animations, arguments...