Tag: kotlin
All the articles with the tag "kotlin".
Tag:kotlin
-
The Future of Android Apps with AppFunctions
Explore the potential of Android AppFunctions for AI agents. Learn how apps can share functionality with intelligent assistants using self-describing functions.
-
Exploring CompositionLocal API internals in Jetpack Compose
Deep dive into the internals of Jetpack Compose's CompositionLocal API. Trace how data flows implicitly through the composition tree under the hood.
-
A Simple key to a Better LazyList in Jetpack Compose
Learn how to optimize Jetpack Compose LazyList performance using keys. Understand how keys help reduce recompositions and improve scrolling efficiency.
-
Exploring PausableComposition internals in Jetpack Compose
Explore the internals of PausableComposition in Jetpack Compose. Learn how Compose manages state and effects when a composition is paused or resumed.
-
Deep dive into annotations in Jetpack Compose
An extensive deep dive into annotations in Jetpack Compose. Understand how @Composable, @Stable, @ReadOnlyComposable, and others work under the hood.
-
Understanding Dispatchers: Main and Main.immediate
A deep dive into Kotlin Coroutine Dispatchers. Understand the subtle but important difference between Dispatchers.Main and Dispatchers.Main.immediate in Android.
-
#51 - My developer blogging journey so far
A personal account of my journey as a tech blogger, from my first post in 2019 to becoming a GDE. Insights on English barriers, criticism, and why sharing matters.
-
Benchmark Insights: Direct State Propagation vs. Lambda-based State in Jetpack Compose
Performance benchmarks of direct state propagation vs. lambda-based state in Jetpack Compose. Learn which approach minimizes recompositions for better UI performance.
-
Skipping the invocation of intermediate composables
Learn how Jetpack Compose optimizes UI rendering by skipping intermediate composables. Understand how to design your UI for maximum performance.
-
Kotlin Exception Handling: Why Singleton Exceptions are a bad idea
Understand why using singleton exceptions in Kotlin can be a bad practice and how it affects stack traces and debugging in your applications.
-
Effortless Compose Compiler report analysis
A guide to analyzing Jetpack Compose compiler reports easily. Learn how to diagnose stability and skippability of your composables for better performance.
-
Capturing composable to a bitmap without losing a state
Learn how to capture a Jetpack Compose Composable as a Bitmap without losing its current state. A deep dive into capturing high-quality UI screenshots programmatically.
-
Rich media input from the keyboard in Compose
Learn how to handle rich media input (like GIFs and images) from the keyboard in Jetpack Compose, essential for modern chat applications.
-
Collecting items from the Flow in chunks💦
Learn how to collect Kotlin Flow items in chunks or intervals without losing data. A practical guide to handling high-frequency data streams efficiently.
-
Runtime Surprise: Kotlin Breaks Non-Nullability Promise on Developer Cheating in Field Initialization
A cautionary tale about Kotlin's non-nullability. Discover how incorrect field initialization can lead to unexpected NullPointerExceptions at runtime.
-
Solving the mystery of recompositions in Compose's LazyList
Debugging recompositions in Jetpack Compose LazyLists. Learn why your list items might be recomposing unnecessarily and how to fix it.
-
Sleepless Concurrency: delay() vs. Thread.sleep()
Explore the difference between delay() and Thread.sleep() in Kotlin. Understand how non-blocking concurrency works from a platform perspective.
-
PermissionFlow: A Reactive API for knowing the status of Android app permissions
Introduction to PermissionFlow: A reactive API for Android that simplifies tracking permission status changes using Kotlin Coroutines and Flow.
-
Simplifying Redux in Kotlin: "mutating" immutable states with Mutekt
Simplify state management in Kotlin with Mutekt. Learn how to write 'mutating' syntax for immutable states in Redux-like architectures.
-
Mastering Android App Performance: Analyzing Bottlenecks with Perfetto 🚦
Master Android app performance profiling with Perfetto. Learn how to identify and fix UI janks and bottlenecks using system tracing.