# Shreyas Patil's Blog

Senior Android Engineer @ Deliveroo. Google Developer Expert for Android. Writing about Android, Kotlin, and AI.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Stop Ignoring Compose Stability (Yes, Even with Strong Skipping Mode)

DevFeed: [Stop Ignoring Compose Stability (Yes, Even with Strong Skipping Mode)](<https://devfeed.tech/articles/stop-ignoring-compose-stability-yes-even-with-strong-skipping-mode-25753.md>)

Original publisher: [Read original article](<https://blog.shreyaspatil.dev/stop-ignoring-compose-stability-yes-even-with-strong-skipping-mode/>)

Author: Shreyas Patil

Published: 2026-08-03T04:30:00Z

Content type: article

Language: en

Sources: [Shreyas Patil's Blog](<https://devfeed.tech/sources/shreyas-patil-s-blog.md>)

Topics: [Jetpack Compose](<https://devfeed.tech/topics/jetpack-compose.md>), [Compose Compiler](<https://devfeed.tech/topics/compose-compiler.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [compose](<https://devfeed.tech/tags/compose.md>), [compose-compiler](<https://devfeed.tech/tags/compose-compiler.md>), [compose-stability](<https://devfeed.tech/tags/compose-stability.md>), [jetpack](<https://devfeed.tech/tags/jetpack.md>), [jetpack-compose](<https://devfeed.tech/tags/jetpack-compose.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-2](<https://devfeed.tech/tags/kotlin-2.md>), [performance](<https://devfeed.tech/tags/performance.md>), [recompose](<https://devfeed.tech/tags/recompose.md>), [recomposition](<https://devfeed.tech/tags/recomposition.md>)

### AI overview

Strong Skipping Mode, enabled by default in the Compose Compiler since Kotlin 2.0.20, makes restartable composables skippable even when they have unstable parameters and automatically memoizes lambdas, including those capturing unstable values. But skipping still depends on parameter comparisons: the excerpt says unstable parameters are compared by instance equality, and ends before explaining the stable-parameter comparison. Thus, enabling Strong Skipping alone does not guarantee that a composable with unstable inputs will skip when expected; the article frames stability as still relevant to avoiding unnecessary recompositions.

### Source excerpt

Strong Skipping Mode doesn't make Compose stability obsolete. Discover the hidden referential equality trap causing silent recompositions in your app.

## Inside SubcomposeLayout: Jetpack Compose's Most Misunderstood API

DevFeed: [Inside SubcomposeLayout: Jetpack Compose's Most Misunderstood API](<https://devfeed.tech/articles/inside-subcomposelayout-jetpack-compose-s-most-misunderstood-api-25730.md>)

Original publisher: [Read original article](<https://blog.shreyaspatil.dev/inside-subcomposelayout-jetpack-composes-most-misunderstood-api/>)

Author: Shreyas Patil

Published: 2026-07-10T12:05:00Z

Content type: article

Language: en

Sources: [Shreyas Patil's Blog](<https://devfeed.tech/sources/shreyas-patil-s-blog.md>)

Topics: [Jetpack Compose](<https://devfeed.tech/topics/jetpack-compose.md>), [User Interfaces](<https://devfeed.tech/topics/user-interfaces.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [aosp](<https://devfeed.tech/tags/aosp.md>), [api](<https://devfeed.tech/tags/api.md>), [avoid](<https://devfeed.tech/tags/avoid.md>), [box](<https://devfeed.tech/tags/box.md>), [canonical](<https://devfeed.tech/tags/canonical.md>), [complex](<https://devfeed.tech/tags/complex.md>), [compose](<https://devfeed.tech/tags/compose.md>), [composition](<https://devfeed.tech/tags/composition.md>), [content](<https://devfeed.tech/tags/content.md>), [cost](<https://devfeed.tech/tags/cost.md>), [custom](<https://devfeed.tech/tags/custom.md>), [declarative](<https://devfeed.tech/tags/declarative.md>), [deep](<https://devfeed.tech/tags/deep.md>), [deep-dive](<https://devfeed.tech/tags/deep-dive.md>), [deferred](<https://devfeed.tech/tags/deferred.md>), [engine](<https://devfeed.tech/tags/engine.md>), [internals](<https://devfeed.tech/tags/internals.md>), [jetpack](<https://devfeed.tech/tags/jetpack.md>), [jetpack-compose](<https://devfeed.tech/tags/jetpack-compose.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [learn](<https://devfeed.tech/tags/learn.md>), [performance](<https://devfeed.tech/tags/performance.md>), [performance-optimization](<https://devfeed.tech/tags/performance-optimization.md>), [rules](<https://devfeed.tech/tags/rules.md>), [ui](<https://devfeed.tech/tags/ui.md>), [uiux](<https://devfeed.tech/tags/uiux.md>)

### AI overview

SubcomposeLayout lets a Compose layout defer emitting child composables until measurement or placement, when incoming constraints are known. This addresses cases where constraints determine whether content is emitted, but it interrupts the usual sequence in which composition builds the tree before layout and can stall the layout pipeline. The excerpt frames its performance cost as more than a generic warning, pointing to node thrashing as the real cost, though it does not include details of that mechanism here. For child-to-child size dependencies, it recommends a standard or custom layout; for custom measurement and positioning logic, a standard custom layout. The excerpt ends before its promised deeper implementation discussion, so it does not establish the exact internals or quantify the cost.

### Source excerpt

A deep dive into the internals of SubcomposeLayout in Jetpack Compose. Learn how subcomposition actually works, why it breaks the phase rules, and the real node-thrashing cost it carries.

## Building My Dream Developer Blog with Astro, Cloudflare, and AI

DevFeed: [Building My Dream Developer Blog with Astro, Cloudflare, and AI](<https://devfeed.tech/articles/building-my-dream-developer-blog-with-astro-cloudflare-and-ai-25704.md>)

Original publisher: [Read original article](<https://blog.shreyaspatil.dev/building-my-dream-developer-blog-with-astro-cloudflare-and-ai/>)

Author: Shreyas Patil

Published: 2026-04-20T00:00:00Z

Content type: article

Language: en

Sources: [Shreyas Patil's Blog](<https://devfeed.tech/sources/shreyas-patil-s-blog.md>)

Topics: [Astro](<https://devfeed.tech/topics/astro.md>), [Cloudflare](<https://devfeed.tech/topics/cloudflare.md>), [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [Google](<https://devfeed.tech/topics/google.md>)

Tags: [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [antigravity](<https://devfeed.tech/tags/antigravity.md>), [astro](<https://devfeed.tech/tags/astro.md>), [blogging](<https://devfeed.tech/tags/blogging.md>), [cloudflare](<https://devfeed.tech/tags/cloudflare.md>), [developer](<https://devfeed.tech/tags/developer.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [gemini](<https://devfeed.tech/tags/gemini.md>), [git](<https://devfeed.tech/tags/git.md>), [google](<https://devfeed.tech/tags/google.md>), [markdown](<https://devfeed.tech/tags/markdown.md>)

### AI overview

The author describes migrating more than 60 technical blogs from Hashnode to a custom Astro site hosted on Cloudflare Pages. The site uses Markdown files in Git, and the author used Google Antigravity as a pair-programming AI agent while building it.

### Source excerpt

How I migrated my 60+ engineering blogs from Hashnode to a custom Astro setup on Cloudflare with the help of Google Antigravity AI.

## The Future of Android Apps with AppFunctions

DevFeed: [The Future of Android Apps with AppFunctions](<https://devfeed.tech/articles/the-future-of-android-apps-with-appfunctions-25755.md>)

Original publisher: [Read original article](<https://blog.shreyaspatil.dev/the-future-of-android-apps-with-appfunctions/>)

Author: Shreyas Patil

Published: 2026-03-30T04:30:00Z

Content type: article

Language: en

Sources: [Shreyas Patil's Blog](<https://devfeed.tech/sources/shreyas-patil-s-blog.md>)

Topics: [function calling](<https://devfeed.tech/topics/function-calling.md>), [Android](<https://devfeed.tech/topics/android.md>), [SDK](<https://devfeed.tech/topics/sdk.md>), [deeplinks](<https://devfeed.tech/topics/deeplinks.md>)

Tags: [agentic-ai](<https://devfeed.tech/tags/agentic-ai.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [aidl](<https://devfeed.tech/tags/aidl.md>), [android](<https://devfeed.tech/tags/android.md>), [android-16](<https://devfeed.tech/tags/android-16.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [android-apps](<https://devfeed.tech/tags/android-apps.md>), [api](<https://devfeed.tech/tags/api.md>), [app-development](<https://devfeed.tech/tags/app-development.md>), [apps](<https://devfeed.tech/tags/apps.md>), [bridge](<https://devfeed.tech/tags/bridge.md>), [capabilities](<https://devfeed.tech/tags/capabilities.md>), [data](<https://devfeed.tech/tags/data.md>), [functionality](<https://devfeed.tech/tags/functionality.md>), [functions](<https://devfeed.tech/tags/functions.md>), [gemini](<https://devfeed.tech/tags/gemini.md>), [gemini-app](<https://devfeed.tech/tags/gemini-app.md>), [intelligent-assistants](<https://devfeed.tech/tags/intelligent-assistants.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [share](<https://devfeed.tech/tags/share.md>)

### AI overview

Android AppFunctions lets developers expose self-describing app functions for AI agents and assistants to discover and run from natural-language requests, offering an on-device option alongside backend capabilities declared through MCP servers. The excerpt says AppFunctions is optional; Google is also developing UI automation for generic tasks, with transparency and user control. It is available through the Android 16 SDK and Jetpack, and uses an interprocess communication framework such as AIDL with security measures. At the time described, access through Gemini on installed apps is limited to Samsung S26 Ultra and Google Pixel 10. The excerpt ends during the integration discussion, so it does not provide the promised security details.

### Source excerpt

Explore the potential of Android AppFunctions for AI agents. Learn how apps can share functionality with intelligent assistants using self-describing functions.

## session-bridge: I Made Two Claude Code Sessions Talk to Each Other

DevFeed: [session-bridge: I Made Two Claude Code Sessions Talk to Each Other](<https://devfeed.tech/articles/session-bridge-i-made-two-claude-code-sessions-talk-to-each-other-25747.md>)

Original publisher: [Read original article](<https://blog.shreyaspatil.dev/session-bridge-i-made-two-claude-code-sessions-talk-to-each-other/>)

Author: Shreyas Patil

Published: 2026-03-20T13:09:22Z

Content type: article

Language: en

Sources: [Shreyas Patil's Blog](<https://devfeed.tech/sources/shreyas-patil-s-blog.md>)

Topics: [Claude Code](<https://devfeed.tech/topics/claude-code.md>), [AI Context Management](<https://devfeed.tech/topics/ai-context-management.md>), [AI chatbot continuity](<https://devfeed.tech/topics/ai-chatbot-continuity.md>), [Claude](<https://devfeed.tech/topics/claude.md>)

Tags: [agentic-ai](<https://devfeed.tech/tags/agentic-ai.md>), [agentic-ai-development](<https://devfeed.tech/tags/agentic-ai-development.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [claude-code](<https://devfeed.tech/tags/claude-code.md>), [claude-plugin](<https://devfeed.tech/tags/claude-plugin.md>), [claudeai](<https://devfeed.tech/tags/claudeai.md>), [consumer](<https://devfeed.tech/tags/consumer.md>), [context](<https://devfeed.tech/tags/context.md>), [files](<https://devfeed.tech/tags/files.md>), [http](<https://devfeed.tech/tags/http.md>), [json](<https://devfeed.tech/tags/json.md>), [library](<https://devfeed.tech/tags/library.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [plugin](<https://devfeed.tech/tags/plugin.md>), [plugins](<https://devfeed.tech/tags/plugins.md>), [repositories](<https://devfeed.tech/tags/repositories.md>), [sessions](<https://devfeed.tech/tags/sessions.md>)

### AI overview

The author built session-bridge to let separate Claude Code sessions share context across unrelated repositories, avoiding repeated manual explanations when a library change requires updates in a consumer app. The excerpt describes a file-based transport: each session gets a directory with folders, and messages are JSON files. It says MCP and local HTTP were considered, but cuts off before giving the reasons for choosing files or describing implementation results and limitations.

### Source excerpt

Building 'session-bridge': A Claude Code plugin that allows separate AI sessions to communicate and share context across different repositories.

## Exploring CompositionLocal API internals in Jetpack Compose

DevFeed: [Exploring CompositionLocal API internals in Jetpack Compose](<https://devfeed.tech/articles/exploring-compositionlocal-api-internals-in-jetpack-compose-25717.md>)

Original publisher: [Read original article](<https://blog.shreyaspatil.dev/exploring-compositionlocal-api-internals-in-jetpack-compose/>)

Author: Shreyas Patil

Published: 2026-03-09T05:19:42Z

Content type: article

Language: en

Sources: [Shreyas Patil's Blog](<https://devfeed.tech/sources/shreyas-patil-s-blog.md>)

Topics: [Jetpack Compose](<https://devfeed.tech/topics/jetpack-compose.md>), [API](<https://devfeed.tech/topics/api.md>), [state-management](<https://devfeed.tech/topics/state-management.md>)

Tags: [ambient](<https://devfeed.tech/tags/ambient.md>), [android](<https://devfeed.tech/tags/android.md>), [android-development](<https://devfeed.tech/tags/android-development.md>), [article](<https://devfeed.tech/tags/article.md>), [base](<https://devfeed.tech/tags/base.md>), [basic](<https://devfeed.tech/tags/basic.md>), [basics](<https://devfeed.tech/tags/basics.md>), [behind-the-scenes](<https://devfeed.tech/tags/behind-the-scenes.md>), [code](<https://devfeed.tech/tags/code.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [compose](<https://devfeed.tech/tags/compose.md>), [composer](<https://devfeed.tech/tags/composer.md>), [composition](<https://devfeed.tech/tags/composition.md>), [concrete](<https://devfeed.tech/tags/concrete.md>), [deep-dive](<https://devfeed.tech/tags/deep-dive.md>), [factory](<https://devfeed.tech/tags/factory.md>), [flow](<https://devfeed.tech/tags/flow.md>), [hierarchy](<https://devfeed.tech/tags/hierarchy.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [insights](<https://devfeed.tech/tags/insights.md>), [internals](<https://devfeed.tech/tags/internals.md>), [jetpack-compose](<https://devfeed.tech/tags/jetpack-compose.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>)

### AI overview

CompositionLocal lets Jetpack Compose make data available across a composition hierarchy without passing it through every intermediate composable, which can reduce prop drilling and keep implementation details private. The excerpt describes the API as involving a sealed CompositionLocal base class, a providing-capable ProvidableCompositionLocal, concrete implementations that determine storage and recomposition behavior, and internal value holders, persistent maps, and Composer integration. It introduces these mechanisms but does not explain their operation in detail.

### Source excerpt

Deep dive into the internals of Jetpack Compose's CompositionLocal API. Trace how data flows implicitly through the composition tree under the hood.

## You Can't Multitask. Your AI Agent Can.

DevFeed: [You Can't Multitask. Your AI Agent Can.](<https://devfeed.tech/articles/you-can-t-multitask-your-ai-agent-can-25759.md>)

Original publisher: [Read original article](<https://blog.shreyaspatil.dev/you-can-t-multitask-your-ai-agent-can/>)

Author: Shreyas Patil

Published: 2026-03-02T04:00:00Z

Content type: opinion

Language: en

Sources: [Shreyas Patil's Blog](<https://devfeed.tech/sources/shreyas-patil-s-blog.md>)

Topics: [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [developer-productivity](<https://devfeed.tech/topics/developer-productivity.md>), [Tool](<https://devfeed.tech/topics/tool.md>), [Claude Code](<https://devfeed.tech/topics/claude-code.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [ai-tools](<https://devfeed.tech/tags/ai-tools.md>), [android](<https://devfeed.tech/tags/android.md>), [claude-code](<https://devfeed.tech/tags/claude-code.md>), [codex](<https://devfeed.tech/tags/codex.md>), [gemini](<https://devfeed.tech/tags/gemini.md>), [git](<https://devfeed.tech/tags/git.md>), [multitasking](<https://devfeed.tech/tags/multitasking.md>), [productivity](<https://devfeed.tech/tags/productivity.md>), [tasks](<https://devfeed.tech/tags/tasks.md>), [vibe-coding](<https://devfeed.tech/tags/vibe-coding.md>)

### AI overview

The author argues that AI agents can reduce the context-switching burden when several tasks compete for attention in the same project. The excerpt contrasts human developers, who pay a productivity cost when switching between complex tasks, with agents that can work independently without losing their place. It introduces a scenario involving a feature, a production crash fix, and a waiting PR review, then says the author found a better way to work. The excerpt ends before explaining that approach or comparing specific tools, so its practical steps and any differences between Claude Code and Gemini are not established here.

### Source excerpt

Boost your productivity with AI agents. Learn how to delegate complex tasks to AI tools like Claude Code and Gemini to overcome human multitasking limitations.

## A Simple key to a Better LazyList in Jetpack Compose

DevFeed: [A Simple key to a Better LazyList in Jetpack Compose](<https://devfeed.tech/articles/a-simple-key-to-a-better-lazylist-in-jetpack-compose-25698.md>)

Original publisher: [Read original article](<https://blog.shreyaspatil.dev/a-simple-key-to-a-better-lazylist-in-jetpack-compose/>)

Author: Shreyas Patil

Published: 2025-10-08T12:00:28Z

Content type: article

Language: en

Sources: [Shreyas Patil's Blog](<https://devfeed.tech/sources/shreyas-patil-s-blog.md>)

Topics: [Jetpack Compose](<https://devfeed.tech/topics/jetpack-compose.md>), [mobile-app-performance](<https://devfeed.tech/topics/mobile-app-performance.md>), [performance-optimization](<https://devfeed.tech/topics/performance-optimization.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [compose](<https://devfeed.tech/tags/compose.md>), [compose-multiplatform](<https://devfeed.tech/tags/compose-multiplatform.md>), [jetpack-compose](<https://devfeed.tech/tags/jetpack-compose.md>), [key](<https://devfeed.tech/tags/key.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [performance](<https://devfeed.tech/tags/performance.md>), [ui](<https://devfeed.tech/tags/ui.md>)

### AI overview

In Jetpack Compose LazyColumn and LazyRow, each item can have a stable, unique key that lets Compose track it when list contents change. With keys, Compose can associate reordered items with their prior identity and avoid some unnecessary recomposition. Without keys, Compose uses positions; this is fine for an unchanging list, but adding or removing items in a dynamic list can trigger recompositions for items that did not change. Duplicate keys cause the app to crash. The supplied excerpt ends as it begins an example, so it does not show the promised scenario or further recommendations.

### Source excerpt

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

DevFeed: [Exploring PausableComposition internals in Jetpack Compose](<https://devfeed.tech/articles/exploring-pausablecomposition-internals-in-jetpack-compose-25718.md>)

Original publisher: [Read original article](<https://blog.shreyaspatil.dev/exploring-pausablecomposition-internals-in-jetpack-compose/>)

Author: Shreyas Patil

Published: 2025-07-14T05:34:31Z

Content type: tutorial

Language: en

Sources: [Shreyas Patil's Blog](<https://devfeed.tech/sources/shreyas-patil-s-blog.md>)

Topics: [Jetpack Compose](<https://devfeed.tech/topics/jetpack-compose.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [code](<https://devfeed.tech/tags/code.md>), [compose](<https://devfeed.tech/tags/compose.md>), [declarative](<https://devfeed.tech/tags/declarative.md>), [internals](<https://devfeed.tech/tags/internals.md>), [jank](<https://devfeed.tech/tags/jank.md>), [jetpack-compose](<https://devfeed.tech/tags/jetpack-compose.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [main-thread](<https://devfeed.tech/tags/main-thread.md>), [performance](<https://devfeed.tech/tags/performance.md>), [performance-optimization](<https://devfeed.tech/tags/performance-optimization.md>), [ui](<https://devfeed.tech/tags/ui.md>), [uiux](<https://devfeed.tech/tags/uiux.md>)

### AI overview

This article explores the internals of PausableComposition, an internal API introduced in Compose 1.9.X. It explains how composition can be divided into smaller pieces and prepared asynchronously to reduce main-thread work and help prevent dropped frames during scrolling.

### Source excerpt

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

DevFeed: [Deep dive into annotations in Jetpack Compose](<https://devfeed.tech/articles/deep-dive-into-annotations-in-jetpack-compose-25711.md>)

Original publisher: [Read original article](<https://blog.shreyaspatil.dev/deep-dive-into-annotations-in-jetpack-compose/>)

Author: Shreyas Patil

Published: 2025-05-19T05:16:29Z

Content type: article

Language: en

Sources: [Shreyas Patil's Blog](<https://devfeed.tech/sources/shreyas-patil-s-blog.md>)

Topics: [Jetpack Compose](<https://devfeed.tech/topics/jetpack-compose.md>), [Compose Compiler](<https://devfeed.tech/topics/compose-compiler.md>), [User Interfaces](<https://devfeed.tech/topics/user-interfaces.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [annotations](<https://devfeed.tech/tags/annotations.md>), [app-development](<https://devfeed.tech/tags/app-development.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [compose](<https://devfeed.tech/tags/compose.md>), [independent](<https://devfeed.tech/tags/independent.md>), [jetpack](<https://devfeed.tech/tags/jetpack.md>), [jetpack-compose](<https://devfeed.tech/tags/jetpack-compose.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [parameter](<https://devfeed.tech/tags/parameter.md>), [performance](<https://devfeed.tech/tags/performance.md>), [recomposition](<https://devfeed.tech/tags/recomposition.md>), [rendering](<https://devfeed.tech/tags/rendering.md>), [runtime](<https://devfeed.tech/tags/runtime.md>), [scope](<https://devfeed.tech/tags/scope.md>), [skip](<https://devfeed.tech/tags/skip.md>), [state](<https://devfeed.tech/tags/state.md>), [ui](<https://devfeed.tech/tags/ui.md>)

### AI overview

Jetpack Compose tracks which composables read changed state and recomposes the affected functions. It can skip a composable and its children when inputs are unchanged, provided the composable's parameters are stable and it meets the stated eligibility conditions. Restartable composables establish their own restart scope, allowing Compose to re-invoke them independently when state they read changes. The excerpt ends before explaining the annotations named in the source summary, so their behavior and usage cannot be described from the available text.

### Source excerpt

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

DevFeed: [Understanding Dispatchers: Main and Main.immediate](<https://devfeed.tech/articles/understanding-dispatchers-main-and-main-immediate-25756.md>)

Original publisher: [Read original article](<https://blog.shreyaspatil.dev/understanding-dispatchers-main-and-mainimmediate/>)

Author: Shreyas Patil

Published: 2025-04-02T12:22:06Z

Content type: tutorial

Language: en

Sources: [Shreyas Patil's Blog](<https://devfeed.tech/sources/shreyas-patil-s-blog.md>)

Topics: [Coroutines](<https://devfeed.tech/topics/coroutines.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Android](<https://devfeed.tech/topics/android.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [android-apps](<https://devfeed.tech/tags/android-apps.md>), [android-studio](<https://devfeed.tech/tags/android-studio.md>), [coroutine](<https://devfeed.tech/tags/coroutine.md>), [coroutines](<https://devfeed.tech/tags/coroutines.md>), [coroutines-flow](<https://devfeed.tech/tags/coroutines-flow.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-beginner](<https://devfeed.tech/tags/kotlin-beginner.md>), [kotlin-coroutines](<https://devfeed.tech/tags/kotlin-coroutines.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [main-thread](<https://devfeed.tech/tags/main-thread.md>), [multithreading](<https://devfeed.tech/tags/multithreading.md>), [reactive-programming](<https://devfeed.tech/tags/reactive-programming.md>), [threadpools](<https://devfeed.tech/tags/threadpools.md>), [threads](<https://devfeed.tech/tags/threads.md>)

### AI overview

A deep dive into Kotlin coroutine dispatchers on Android, explaining the difference between Dispatchers.Main and Dispatchers.Main.immediate. It describes how HandlerContext dispatches work and when execution is posted to the main thread or performed synchronously on the current thread.

### Source excerpt

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

DevFeed: [#51 - My developer blogging journey so far](<https://devfeed.tech/articles/51-my-developer-blogging-journey-so-far-25697.md>)

Original publisher: [Read original article](<https://blog.shreyaspatil.dev/51-my-developer-blogging-journey-so-far/>)

Author: Shreyas Patil

Published: 2025-02-18T14:10:44Z

Content type: opinion

Language: en

Sources: [Shreyas Patil's Blog](<https://devfeed.tech/sources/shreyas-patil-s-blog.md>)

Topics: [Publishing](<https://devfeed.tech/topics/publishing.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [aosp](<https://devfeed.tech/topics/aosp.md>), [SDK](<https://devfeed.tech/topics/sdk.md>)

Tags: [2019](<https://devfeed.tech/tags/2019.md>), [android](<https://devfeed.tech/tags/android.md>), [api](<https://devfeed.tech/tags/api.md>), [app](<https://devfeed.tech/tags/app.md>), [article](<https://devfeed.tech/tags/article.md>), [better](<https://devfeed.tech/tags/better.md>), [blog](<https://devfeed.tech/tags/blog.md>), [blogging](<https://devfeed.tech/tags/blogging.md>), [blogs](<https://devfeed.tech/tags/blogs.md>), [building](<https://devfeed.tech/tags/building.md>), [career](<https://devfeed.tech/tags/career.md>), [code](<https://devfeed.tech/tags/code.md>), [content-creation](<https://devfeed.tech/tags/content-creation.md>), [contribute](<https://devfeed.tech/tags/contribute.md>), [contributed](<https://devfeed.tech/tags/contributed.md>), [data](<https://devfeed.tech/tags/data.md>), [database](<https://devfeed.tech/tags/database.md>), [developer](<https://devfeed.tech/tags/developer.md>), [development](<https://devfeed.tech/tags/development.md>), [firebase](<https://devfeed.tech/tags/firebase.md>), [flutter](<https://devfeed.tech/tags/flutter.md>), [journey](<https://devfeed.tech/tags/journey.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [personal](<https://devfeed.tech/tags/personal.md>), [sharing](<https://devfeed.tech/tags/sharing.md>), [technical-documentation](<https://devfeed.tech/tags/technical-documentation.md>), [technical-writing-1](<https://devfeed.tech/tags/technical-writing-1.md>), [writing](<https://devfeed.tech/tags/writing.md>)

### AI overview

In 2019, while building an Android app, the author needed pagination for Firebase Realtime Database, which FirebaseUI-Android did not then support. They developed a pagination API, first used it in their own app and GitHub project, then contributed it to the official SDK. Hoping it would help other developers, they wrote a Medium article, revised it in response to ProAndroidDev editors' suggestions, and published their first tech blog on April 8, 2019. The excerpt ends as they begin describing what happened after sharing the post, so it does not establish the rest of their blogging journey or career impact.

### Source excerpt

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

DevFeed: [Benchmark Insights: Direct State Propagation vs. Lambda-based State in Jetpack Compose](<https://devfeed.tech/articles/benchmark-insights-direct-state-propagation-vs-lambda-based-state-in-jetpack-compose-25703.md>)

Original publisher: [Read original article](<https://blog.shreyaspatil.dev/benchmark-insights-direct-state-propagation-vs-lambda-based-state-in-jetpack-compose/>)

Author: Shreyas Patil

Published: 2024-11-19T14:19:27Z

Content type: article

Language: en

Sources: [Shreyas Patil's Blog](<https://devfeed.tech/sources/shreyas-patil-s-blog.md>)

Topics: [Jetpack Compose](<https://devfeed.tech/topics/jetpack-compose.md>), [Benchmark](<https://devfeed.tech/topics/benchmark.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Android](<https://devfeed.tech/topics/android.md>), [User Interfaces](<https://devfeed.tech/topics/user-interfaces.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [android-apps](<https://devfeed.tech/tags/android-apps.md>), [android-studio](<https://devfeed.tech/tags/android-studio.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [compose-compiler](<https://devfeed.tech/tags/compose-compiler.md>), [jetpack](<https://devfeed.tech/tags/jetpack.md>), [jetpack-compose](<https://devfeed.tech/tags/jetpack-compose.md>), [jetpack-compose-ui-components](<https://devfeed.tech/tags/jetpack-compose-ui-components.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-coroutines](<https://devfeed.tech/tags/kotlin-coroutines.md>), [performance](<https://devfeed.tech/tags/performance.md>), [recompose](<https://devfeed.tech/tags/recompose.md>), [ui](<https://devfeed.tech/tags/ui.md>), [ux](<https://devfeed.tech/tags/ux.md>)

### AI overview

This article compares direct state propagation with lambda-based state propagation in Jetpack Compose using a prototype stock-market screen with frequent UI updates. It describes a macrobenchmark setup intended to analyze their performance and recomposition behavior, but the supplied text does not include the benchmark results or conclusions.

### Source excerpt

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

DevFeed: [Skipping the invocation of intermediate composables](<https://devfeed.tech/articles/skipping-the-invocation-of-intermediate-composables-25749.md>)

Original publisher: [Read original article](<https://blog.shreyaspatil.dev/skipping-the-invocation-of-intermediate-composables/>)

Author: Shreyas Patil

Published: 2024-11-11T13:33:20Z

Content type: article

Language: en

Sources: [Shreyas Patil's Blog](<https://devfeed.tech/sources/shreyas-patil-s-blog.md>)

Topics: [Jetpack Compose](<https://devfeed.tech/topics/jetpack-compose.md>), [performance-engineering](<https://devfeed.tech/topics/performance-engineering.md>), [Android](<https://devfeed.tech/topics/android.md>), [User Interfaces](<https://devfeed.tech/topics/user-interfaces.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [android-apps](<https://devfeed.tech/tags/android-apps.md>), [android-studio](<https://devfeed.tech/tags/android-studio.md>), [compose](<https://devfeed.tech/tags/compose.md>), [compose-compiler](<https://devfeed.tech/tags/compose-compiler.md>), [composition](<https://devfeed.tech/tags/composition.md>), [defer](<https://devfeed.tech/tags/defer.md>), [jetpack](<https://devfeed.tech/tags/jetpack.md>), [jetpack-compose](<https://devfeed.tech/tags/jetpack-compose.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [performance](<https://devfeed.tech/tags/performance.md>), [performance-optimization](<https://devfeed.tech/tags/performance-optimization.md>), [reactjs](<https://devfeed.tech/tags/reactjs.md>), [ui](<https://devfeed.tech/tags/ui.md>), [ux](<https://devfeed.tech/tags/ux.md>)

### AI overview

The excerpt explains that Compose can skip a composable's UI logic when its inputs have not changed, though generated code still performs a check before deciding to skip. In a screen-to-subcomponent state flow, a change in one subcomponent can reach its ancestors; the excerpt says the screen and its parent component avoid recomposition unless they are unstable, while lightweight pre-check work may still run. It connects this to the practice of deferring state reads, including lambda-based modifiers that can bypass composition for certain layout changes. The text ends mid-explanation, so it does not establish the full technique or its results.

### Source excerpt

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

DevFeed: [Kotlin Exception Handling: Why Singleton Exceptions are a bad idea](<https://devfeed.tech/articles/kotlin-exception-handling-why-singleton-exceptions-are-a-bad-idea-25732.md>)

Original publisher: [Read original article](<https://blog.shreyaspatil.dev/kotlin-exception-handling-why-singleton-exceptions-are-a-bad-idea/>)

Author: Shreyas Patil

Published: 2024-09-18T12:56:49Z

Content type: article

Language: en

Sources: [Shreyas Patil's Blog](<https://devfeed.tech/sources/shreyas-patil-s-blog.md>)

Topics: [Exception handling](<https://devfeed.tech/topics/exception-handling.md>), [Exception](<https://devfeed.tech/topics/exception.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [best-practices](<https://devfeed.tech/tags/best-practices.md>), [coding](<https://devfeed.tech/tags/coding.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [exception](<https://devfeed.tech/tags/exception.md>), [exception-handling](<https://devfeed.tech/tags/exception-handling.md>), [exceptionhandling](<https://devfeed.tech/tags/exceptionhandling.md>), [exceptions](<https://devfeed.tech/tags/exceptions.md>), [java](<https://devfeed.tech/tags/java.md>), [jvm](<https://devfeed.tech/tags/jvm.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-beginner](<https://devfeed.tech/tags/kotlin-beginner.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [mistakes](<https://devfeed.tech/tags/mistakes.md>), [programming-blogs](<https://devfeed.tech/tags/programming-blogs.md>), [programming-tips](<https://devfeed.tech/tags/programming-tips.md>)

### AI overview

In Kotlin, a singleton exception retains the stack trace from when its instance was first created. If different repository methods later throw that same instance, the trace can point to the wrong method and mislead debugging or crash reporting. The excerpt recommends creating exception instances where stack traces matter; singleton exceptions may be acceptable for internal state or information that is not monitored at scale.

### Source excerpt

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

DevFeed: [Effortless Compose Compiler report analysis](<https://devfeed.tech/articles/effortless-compose-compiler-report-analysis-25716.md>)

Original publisher: [Read original article](<https://blog.shreyaspatil.dev/effortless-compose-compiler-report-analysis/>)

Author: Shreyas Patil

Published: 2024-05-20T12:30:51Z

Content type: tutorial

Language: en

Sources: [Shreyas Patil's Blog](<https://devfeed.tech/sources/shreyas-patil-s-blog.md>)

Topics: [Compose Compiler](<https://devfeed.tech/topics/compose-compiler.md>), [Jetpack Compose](<https://devfeed.tech/topics/jetpack-compose.md>)

Tags: [analysis](<https://devfeed.tech/tags/analysis.md>), [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [android-development](<https://devfeed.tech/tags/android-development.md>), [android-studio](<https://devfeed.tech/tags/android-studio.md>), [cli](<https://devfeed.tech/tags/cli.md>), [compose](<https://devfeed.tech/tags/compose.md>), [compose-compiler](<https://devfeed.tech/tags/compose-compiler.md>), [compose-multiplatform](<https://devfeed.tech/tags/compose-multiplatform.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [diagnose](<https://devfeed.tech/tags/diagnose.md>), [gradle-plugin](<https://devfeed.tech/tags/gradle-plugin.md>), [guide](<https://devfeed.tech/tags/guide.md>), [html](<https://devfeed.tech/tags/html.md>), [jetpack](<https://devfeed.tech/tags/jetpack.md>), [jetpack-compose](<https://devfeed.tech/tags/jetpack-compose.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [large](<https://devfeed.tech/tags/large.md>), [metrics](<https://devfeed.tech/tags/metrics.md>), [opensource](<https://devfeed.tech/tags/opensource.md>), [performance](<https://devfeed.tech/tags/performance.md>), [plugin](<https://devfeed.tech/tags/plugin.md>), [report](<https://devfeed.tech/tags/report.md>), [reports](<https://devfeed.tech/tags/reports.md>), [ui](<https://devfeed.tech/tags/ui.md>)

### AI overview

The described Gradle plugin parses Jetpack Compose compiler reports and metrics into an HTML report, highlighting composable functions and classes it identifies as problematic or non-problematic. After adding the plugin to a module's Gradle file and syncing, generated tasks correspond to project variants and build types; running a task produces the report. The underlying compiler reports include function properties such as restartability, skippability, inline status, and parameter stability. The excerpt also mentions a CLI utility, but gives no details about its use.

### Source excerpt

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

DevFeed: [Capturing composable to a bitmap without losing a state](<https://devfeed.tech/articles/capturing-composable-to-a-bitmap-without-losing-a-state-25705.md>)

Original publisher: [Read original article](<https://blog.shreyaspatil.dev/capturing-composable-to-a-bitmap-without-losing-a-state/>)

Author: Shreyas Patil

Published: 2024-03-20T13:58:20Z

Content type: article

Language: en

Sources: [Shreyas Patil's Blog](<https://devfeed.tech/sources/shreyas-patil-s-blog.md>)

Topics: [Stateful](<https://devfeed.tech/topics/stateful.md>), [User Interfaces](<https://devfeed.tech/topics/user-interfaces.md>), [Cache](<https://devfeed.tech/topics/cache.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [android-apps](<https://devfeed.tech/tags/android-apps.md>), [android-development](<https://devfeed.tech/tags/android-development.md>), [api](<https://devfeed.tech/tags/api.md>), [button](<https://devfeed.tech/tags/button.md>), [caching](<https://devfeed.tech/tags/caching.md>), [canvas](<https://devfeed.tech/tags/canvas.md>), [capture](<https://devfeed.tech/tags/capture.md>), [component](<https://devfeed.tech/tags/component.md>), [compose](<https://devfeed.tech/tags/compose.md>), [counter](<https://devfeed.tech/tags/counter.md>), [github](<https://devfeed.tech/tags/github.md>), [image](<https://devfeed.tech/tags/image.md>), [jetpack](<https://devfeed.tech/tags/jetpack.md>), [jetpack-compose](<https://devfeed.tech/tags/jetpack-compose.md>), [jetpack-compose-layouts-and-modifiers](<https://devfeed.tech/tags/jetpack-compose-layouts-and-modifiers.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [library](<https://devfeed.tech/tags/library.md>), [mobile-apps](<https://devfeed.tech/tags/mobile-apps.md>), [mobile-development](<https://devfeed.tech/tags/mobile-development.md>), [network](<https://devfeed.tech/tags/network.md>), [performance](<https://devfeed.tech/tags/performance.md>), [render](<https://devfeed.tech/tags/render.md>), [rendering](<https://devfeed.tech/tags/rendering.md>), [runtime](<https://devfeed.tech/tags/runtime.md>), [screen](<https://devfeed.tech/tags/screen.md>), [screenshot](<https://devfeed.tech/tags/screenshot.md>), [size](<https://devfeed.tech/tags/size.md>), [state](<https://devfeed.tech/tags/state.md>), [ui](<https://devfeed.tech/tags/ui.md>)

### AI overview

Compose 1.6.x added an API that redirects composable rendering for bitmap capture, and the Capturable library adopted it in v2.0.0 as a more efficient alternative to wrapping content in a View and drawing its Canvas. The excerpt reports that adding the capture modifier to stateful, changing content such as a continuous counter can break both capture and the component's UI state. Its described approach caches a temporary rendering and transfers it to the main canvas, skipping repeated work when size and relevant state are unchanged. The excerpt cuts off as it begins identifying the cause, so it does not establish the full failure mechanism or a fix.

### Source excerpt

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

DevFeed: [Rich media input from the keyboard in Compose](<https://devfeed.tech/articles/rich-media-input-from-the-keyboard-in-compose-25744.md>)

Original publisher: [Read original article](<https://blog.shreyaspatil.dev/rich-media-input-from-the-keyboard-in-compose/>)

Author: Shreyas Patil

Published: 2024-03-01T12:49:32Z

Content type: tutorial

Language: en

Sources: [Shreyas Patil's Blog](<https://devfeed.tech/sources/shreyas-patil-s-blog.md>)

Topics: [Jetpack Compose](<https://devfeed.tech/topics/jetpack-compose.md>), [keyboard](<https://devfeed.tech/topics/keyboard.md>), [Image](<https://devfeed.tech/topics/image.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [android-apps](<https://devfeed.tech/tags/android-apps.md>), [android-development](<https://devfeed.tech/tags/android-development.md>), [chat](<https://devfeed.tech/tags/chat.md>), [compose](<https://devfeed.tech/tags/compose.md>), [gifs](<https://devfeed.tech/tags/gifs.md>), [handle](<https://devfeed.tech/tags/handle.md>), [images](<https://devfeed.tech/tags/images.md>), [jetpack](<https://devfeed.tech/tags/jetpack.md>), [jetpack-compose](<https://devfeed.tech/tags/jetpack-compose.md>), [keyboard](<https://devfeed.tech/tags/keyboard.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [media](<https://devfeed.tech/tags/media.md>), [mobile-apps](<https://devfeed.tech/tags/mobile-apps.md>), [mobile-development](<https://devfeed.tech/tags/mobile-development.md>), [programming-blogs](<https://devfeed.tech/tags/programming-blogs.md>), [rich](<https://devfeed.tech/tags/rich.md>), [ui](<https://devfeed.tech/tags/ui.md>), [uiux](<https://devfeed.tech/tags/uiux.md>)

### AI overview

Jetpack Compose 1.7.x adds an experimental rich content API for receiving media and other content in text fields. Use the newer foundation text field API with a modifier that declares accepted MIME types and provides a callback for selected content and its metadata. The excerpt says this can receive content from a software keyboard, drag and drop, or copy and paste, enabling chat apps to handle images or GIFs. It does not include code details or explain how to process or store the received content.

### Source excerpt

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💦

DevFeed: [Collecting items from the Flow in chunks💦](<https://devfeed.tech/articles/collecting-items-from-the-flow-in-chunks-25706.md>)

Original publisher: [Read original article](<https://blog.shreyaspatil.dev/collecting-items-from-the-flow-in-chunks/>)

Author: Shreyas Patil

Published: 2023-10-23T04:46:23Z

Content type: tutorial

Language: en

Sources: [Shreyas Patil's Blog](<https://devfeed.tech/sources/shreyas-patil-s-blog.md>)

Topics: [coroutines-flow](<https://devfeed.tech/topics/coroutines-flow.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Streaming](<https://devfeed.tech/topics/streaming.md>), [batch insert](<https://devfeed.tech/topics/batch-insert.md>)

Tags: [analytics](<https://devfeed.tech/tags/analytics.md>), [coroutines](<https://devfeed.tech/tags/coroutines.md>), [database](<https://devfeed.tech/tags/database.md>), [flow](<https://devfeed.tech/tags/flow.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-coroutines](<https://devfeed.tech/tags/kotlin-coroutines.md>), [multithreading](<https://devfeed.tech/tags/multithreading.md>), [network](<https://devfeed.tech/tags/network.md>), [persistence](<https://devfeed.tech/tags/persistence.md>), [processing](<https://devfeed.tech/tags/processing.md>), [reactive-programming](<https://devfeed.tech/tags/reactive-programming.md>), [streams](<https://devfeed.tech/tags/streams.md>)

### AI overview

For high-frequency Flow data such as analytics events, collecting items over time intervals can reduce the cost of repeated database or network operations and keep that work from competing as often with higher-priority app tasks. The excerpt contrasts this time-based batching need with collection chunking by item count and introduces a custom Flow operator intended to emit chunks at fixed intervals. It does not include the implementation or explain how the operator handles timing and data retention.

### Source excerpt

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

DevFeed: [Runtime Surprise: Kotlin Breaks Non-Nullability Promise on Developer Cheating in Field Initialization](<https://devfeed.tech/articles/runtime-surprise-kotlin-breaks-non-nullability-promise-on-developer-cheating-in-field-initialization-25745.md>)

Original publisher: [Read original article](<https://blog.shreyaspatil.dev/runtime-surprise-kotlin-breaks-non-nullability-promise-on-developer-cheating-in-field-initialization/>)

Author: Shreyas Patil

Published: 2023-09-20T04:33:24Z

Content type: article

Language: en

Sources: [Shreyas Patil's Blog](<https://devfeed.tech/sources/shreyas-patil-s-blog.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [code](<https://devfeed.tech/tags/code.md>), [compile](<https://devfeed.tech/tags/compile.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [fields](<https://devfeed.tech/tags/fields.md>), [java](<https://devfeed.tech/tags/java.md>), [jvm](<https://devfeed.tech/tags/jvm.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-nullsafety](<https://devfeed.tech/tags/kotlin-nullsafety.md>), [order](<https://devfeed.tech/tags/order.md>), [runtime](<https://devfeed.tech/tags/runtime.md>)

### AI overview

The excerpt describes a Kotlin/JVM initialization-order bug: a field initializer calls a method that indirectly reads another field before that field has been initialized, which can cause a runtime NullPointerException despite Kotlin's non-nullable declarations. Directly referencing the uninitialized field in the initializer produces a compile-time error, and declaring and initializing it first avoids the issue. The practical step given is to check field declaration order when initializers call methods.

### Source excerpt

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

DevFeed: [Solving the mystery of recompositions in Compose's LazyList](<https://devfeed.tech/articles/solving-the-mystery-of-recompositions-in-compose-s-lazylist-25751.md>)

Original publisher: [Read original article](<https://blog.shreyaspatil.dev/solving-the-mystery-of-recompositions-in-composes-lazylist/>)

Author: Shreyas Patil

Published: 2023-08-21T13:03:59Z

Content type: article

Language: en

Sources: [Shreyas Patil's Blog](<https://devfeed.tech/sources/shreyas-patil-s-blog.md>)

Topics: [Jetpack Compose](<https://devfeed.tech/topics/jetpack-compose.md>), [User Interfaces](<https://devfeed.tech/topics/user-interfaces.md>), [debug tools](<https://devfeed.tech/topics/debug-tools.md>)

Tags: [1-4](<https://devfeed.tech/tags/1-4.md>), [android](<https://devfeed.tech/tags/android.md>), [compose](<https://devfeed.tech/tags/compose.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [jetpack-compose](<https://devfeed.tech/tags/jetpack-compose.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [list](<https://devfeed.tech/tags/list.md>), [performance](<https://devfeed.tech/tags/performance.md>), [ui](<https://devfeed.tech/tags/ui.md>)

### AI overview

In the author's Jetpack Compose 1.4.x sample, adding a new item to a LazyList caused every existing item to recompose, even though the models and composables were verified as stable. The reported fix was to stop exposing a Modifier parameter for click behavior: instead, expose a click lambda and keep Modifier handling inside the item composable. The excerpt says this change reduced the recompositions, but it does not include the full implementation or quantify the result.

### Source excerpt

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()

DevFeed: [Sleepless Concurrency: delay() vs. Thread.sleep()](<https://devfeed.tech/articles/sleepless-concurrency-delay-vs-thread-sleep-25750.md>)

Original publisher: [Read original article](<https://blog.shreyaspatil.dev/sleepless-concurrency-delay-vs-threadsleep/>)

Author: Shreyas Patil

Published: 2023-07-31T04:39:30Z

Content type: article

Language: en

Sources: [Shreyas Patil's Blog](<https://devfeed.tech/sources/shreyas-patil-s-blog.md>)

Topics: [Coroutines](<https://devfeed.tech/topics/coroutines.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Distributed Systems & Parallel Computing](<https://devfeed.tech/topics/distributed-systems-parallel-computing.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [blocking](<https://devfeed.tech/tags/blocking.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [coroutine](<https://devfeed.tech/tags/coroutine.md>), [coroutines](<https://devfeed.tech/tags/coroutines.md>), [delay](<https://devfeed.tech/tags/delay.md>), [java](<https://devfeed.tech/tags/java.md>), [jvm](<https://devfeed.tech/tags/jvm.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-coroutines](<https://devfeed.tech/tags/kotlin-coroutines.md>), [main-thread](<https://devfeed.tech/tags/main-thread.md>), [multithreading](<https://devfeed.tech/tags/multithreading.md>), [sleep](<https://devfeed.tech/tags/sleep.md>), [thread](<https://devfeed.tech/tags/thread.md>)

### AI overview

On a single thread, coroutine `delay()` suspends the coroutine without blocking the thread, allowing other coroutines to run; Java `Thread.sleep()` blocks the thread, preventing them from running until sleep ends. In the excerpt's two-coroutine example with a 1,000 ms wait, both coroutines launch in the same second with `delay()`, and total execution takes 1,045 ms; with `sleep()`, the second launches about one second later and total execution takes 2,044 ms. The excerpt frames the APIs as serving different use cases.

### Source excerpt

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

DevFeed: [PermissionFlow: A Reactive API for knowing the status of Android app permissions](<https://devfeed.tech/articles/permissionflow-a-reactive-api-for-knowing-the-status-of-android-app-permissions-25740.md>)

Original publisher: [Read original article](<https://blog.shreyaspatil.dev/permissionflow-a-reactive-api-for-knowing-the-status-of-android-app-permissions/>)

Author: Shreyas Patil

Published: 2023-05-22T05:19:08Z

Content type: article

Language: en

Sources: [Shreyas Patil's Blog](<https://devfeed.tech/sources/shreyas-patil-s-blog.md>)

Topics: [android-permissions](<https://devfeed.tech/topics/android-permissions.md>), [Android](<https://devfeed.tech/topics/android.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [reactive](<https://devfeed.tech/topics/reactive.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [android-development](<https://devfeed.tech/tags/android-development.md>), [api](<https://devfeed.tech/tags/api.md>), [compose](<https://devfeed.tech/tags/compose.md>), [coroutines](<https://devfeed.tech/tags/coroutines.md>), [flow](<https://devfeed.tech/tags/flow.md>), [jetpack-compose](<https://devfeed.tech/tags/jetpack-compose.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [permissions](<https://devfeed.tech/tags/permissions.md>), [reactive](<https://devfeed.tech/tags/reactive.md>), [tracking](<https://devfeed.tech/tags/tracking.md>)

### AI overview

PermissionFlow is an open-source Android library that exposes permission status as a reactive API. Any app layer, such as a data module that needs contacts access, can subscribe to a permission's state and receive updates when it changes, including changes users make in app settings. The excerpt says the library uses Kotlin Flow, supports Jetpack Compose, and offers an API that can be tested with mocks or fakes. It presents this approach as an alternative to manually notifying modules when permission status changes. The excerpt does not include implementation details or the remainder of the article.

### Source excerpt

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

DevFeed: [Simplifying Redux in Kotlin: "mutating" immutable states with Mutekt](<https://devfeed.tech/articles/simplifying-redux-in-kotlin-mutating-immutable-states-with-mutekt-25748.md>)

Original publisher: [Read original article](<https://blog.shreyaspatil.dev/simplifying-redux-in-kotlin-mutating-immutable-states-with-mutekt/>)

Author: Shreyas Patil

Published: 2023-03-24T13:00:39Z

Content type: article

Language: en

Sources: [Shreyas Patil's Blog](<https://devfeed.tech/sources/shreyas-patil-s-blog.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Redux](<https://devfeed.tech/topics/redux.md>), [software-development](<https://devfeed.tech/topics/software-development.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [redux](<https://devfeed.tech/tags/redux.md>), [state-management](<https://devfeed.tech/tags/state-management.md>)

### AI overview

Mutekt is presented as a multiplatform Kotlin utility for writing immutable state updates with "mutating" syntax in Redux-like architectures. The excerpt contrasts this with copying a prior state to calculate the next one, which requires atomic, synchronized updates to avoid inconsistency and careful copying to prevent losing existing values. The supplied text ends while introducing a second approach, so it does not establish how Mutekt works in detail or compare it with the other approaches.

### Source excerpt

Simplify state management in Kotlin with Mutekt. Learn how to write 'mutating' syntax for immutable states in Redux-like architectures.

[Next page](<https://devfeed.tech/sources/shreyas-patil-s-blog.md?cursor=WyIyMDIzLTAzLTI0VDEzOjAwOjM5KzAwOjAwIiwgIjk4MWY0MDdlLTgyMzUtNDk1ZC04OTVmLWUxY2NiN2I0ZThhNyJd>)