AndroidPub
Author

AndroidPub

Senior Android Developer & Interviewer, regularly sharing original tech articles, learning resources, and practical interview guides. Welcome to follow and contribute!

79
Articles
0
Likes
362
Views
0
Comments
Recent Articles

Latest from AndroidPub

79 recent articles
AndroidPub
AndroidPub
Jun 30, 2025 · Mobile Development

Mastering Shared Element Transitions in Jetpack Compose: From Basics to Advanced Tricks

Explore the complete guide to implementing shared element transitions in Jetpack Compose, covering essential APIs like SharedTransitionLayout, Modifier.sharedElement, and Modifier.sharedBounds, with detailed code examples, common pitfalls, container transforms, resize modes, and practical solutions for smooth, hero‑style animations across Android screens.

Android UIJetpack Composeshared element transition
0 likes · 19 min read
Mastering Shared Element Transitions in Jetpack Compose: From Basics to Advanced Tricks
AndroidPub
AndroidPub
Jun 26, 2025 · Fundamentals

Why Kotlin Data Class Lambdas Break Equality and How to Fix It

This article explains how Kotlin treats lambda expressions as distinct objects, causing two data class instances with identical lambda bodies to be unequal, demonstrates the problem with code examples, and shows how extracting the lambda into a shared reference restores proper equality, highlighting implications for equals, hashCode, and Compose.

Code ExampleKotlindata class
0 likes · 3 min read
Why Kotlin Data Class Lambdas Break Equality and How to Fix It
AndroidPub
AndroidPub
Jun 23, 2025 · Mobile Development

Demystifying Android MVI: Origins, Misconceptions, and Best Practices

This article traces the evolution of Android's Model‑View‑Intent (MVI) architecture from its MVC and Flux roots, clarifies common misconceptions versus Redux and MVVM, and provides concrete Kotlin code examples and guidelines for implementing a truly unidirectional, immutable‑state MVI pattern in mobile apps.

MVIState Managementreactive-programming
0 likes · 16 min read
Demystifying Android MVI: Origins, Misconceptions, and Best Practices
AndroidPub
AndroidPub
Jun 19, 2025 · Mobile Development

Flutter vs Jetpack Compose: Which Declarative UI Wins for Mobile Apps?

This article provides a concise side‑by‑side comparison of Flutter and Jetpack Compose, covering platform support, language, UI architecture, rendering pipelines, state management, custom UI/animation capabilities, development efficiency, deployment considerations, and ecosystem maturity to help developers choose the right declarative UI framework for their mobile projects.

Cross‑platformDeclarative UIFlutter
0 likes · 8 min read
Flutter vs Jetpack Compose: Which Declarative UI Wins for Mobile Apps?
AndroidPub
AndroidPub
Jun 17, 2025 · Fundamentals

Unlock Kotlin’s New Power: Named Destructuring, Rich Errors, and More

This article reviews the latest Kotlin 2.x enhancements, including name‑based destructuring, the upcoming Rich Errors union type, new first‑party plugins, AI‑focused MCP SDKs and Kooga agents, the stabilization of Compose Multiplatform for iOS, and improved coroutine debugging in Kotlin 2.2.

AI SDKCompose MultiplatformKotlin
0 likes · 8 min read
Unlock Kotlin’s New Power: Named Destructuring, Rich Errors, and More
AndroidPub
AndroidPub
Jun 13, 2025 · Fundamentals

Simplify Kotlin Collections Creation with buildList, buildSet, and buildMap

This article explains how Kotlin's standard library provides concise builder functions such as buildList, buildSet, buildMap, and buildString to create immutable collections and strings efficiently, reducing boilerplate and eliminating lambda overhead while offering specialized variants for primitive types.

CollectionsKotlinSet
0 likes · 7 min read
Simplify Kotlin Collections Creation with buildList, buildSet, and buildMap
AndroidPub
AndroidPub
Jun 11, 2025 · Mobile Development

ovCompose: Achieving High‑Performance Cross‑Platform Mobile Apps

ovCompose is a newly released cross‑platform framework that fully supports HarmonyOS, Android, and iOS, leveraging Kotlin Multiplatform and the native‑focused KuiklyBase to deliver native‑level performance, unified UI rendering, advanced memory and GC optimizations, and a rich component ecosystem, with open‑source repositories for community collaboration.

ComposeHarmonyOSKotlin Multiplatform
0 likes · 14 min read
ovCompose: Achieving High‑Performance Cross‑Platform Mobile Apps
AndroidPub
AndroidPub
Jun 3, 2025 · Mobile Development

Why Jetpack Navigation 3 Redefines Android Compose Navigation

This article explains the limitations of the original Jetpack Navigation library for Compose, introduces the new Nav3 architecture with its custom back‑stack, open design, and modular components, and demonstrates key features and a code sample for modern Android UI development.

AndroidComposeJetpack Navigation
0 likes · 8 min read
Why Jetpack Navigation 3 Redefines Android Compose Navigation
AndroidPub
AndroidPub
May 29, 2025 · Mobile Development

Avoid These 5 Dangerous Kotlin Coroutine Pitfalls in Android

This article highlights five common Kotlin coroutine pitfalls for Android developers—directly calling suspend functions in Views, misusing GlobalScope, sequential network calls, improper exception handling, and ignoring cancellation—while providing correct implementations and best‑practice guidelines to avoid them.

AndroidLifecycleconcurrency
0 likes · 10 min read
Avoid These 5 Dangerous Kotlin Coroutine Pitfalls in Android