Migrating from LiveData to StateFlow Without UI Regressions
A safe Android migration path that separates persistent state from one-time UI events.
Youtuber @CodeWithWilliamJiamin's Website
• 1 min read
A safe Android migration path that separates persistent state from one-time UI events.
• 1 min read
Fix duplicated Android back stack restoration by centralizing route state and one-shot restore logic.
• 1 min read
Prevent Android data-loss regressions with migration-path tests and post-migration integrity checks.
• 1 min read
Decouple API changes from UI by introducing tested DTO-to-UI mapping boundaries.
• 1 min read
Prevent rotation-related state loss by centralizing UI state in ViewModel and SavedStateHandle.
• 1 min read
Prevent startup instability and ad revenue loss by moving SDK initialization to the right lifecycle boundary.
• 1 min read
A robust question-loading pattern that prevents category leakage and malformed quiz sets.
• 5 min read
Android Day 26 ToDoList App package com.williamjiamin.supertodolistapp import android.widget.Toast import androidx.compose.foundation.background import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.padding import androidx.compose.foundation.lazy.LazyColumn import…
• 4 min read
Android Day 25 How to pass data from one screen to another screen? We need to modify alot of thing, just be patient: package…
• 3 min read
Android Day 24 Multi-Screen Navigation In order to use navigation, we need to import some dependency: dependencies { val nav_version = "2.7.7" // Java…
• 2 min read
Android Day 23 MVVM model Intro MVVM(Model-View-ViewModel) 1.Model: Data and Logic of the App. 2.ViewModel:Handle the logic of Updating the Data.Handle the exposure of…
• 3 min read
Android Day 21 Let's show our items in the List I use an empty lambda expression and a new composible for this, don't worry,…