14,275 questions
Advice
0
votes
0
replies
35
views
When combining LazyColumn and LazyRow, I want to keep the LazyRow above hidden at all times
When I set a LazyRow inside a LazyColumn,
I was able to hide the LazyRow on the first row by scrolling to the list on the second row and focusing on it,
but when I scroll horizontally, the LazyRow ...
Advice
0
votes
0
replies
55
views
How i can start with Add Firebase Admin SDK, dependencies, folder structure, service account setup
- Spring Boot
- Android (Jetpack Compose)
- Kotlin
I want my Spring Boot backend to send FCM notifications when an order status changes.
Before writing code, I'd like to understand the recommended ...
Score of 0
1 answer
60 views
ModalBottomSheet always opens to PartiallyExpanded even when initial state is Expanded (Compose Material3)
I'm using Compose Multiplatform Material3 (org.jetbrains.compose.material3:material3:1.12.0-alpha02) and want a ModalBottomSheet that:
Expected behavior
Open: Hidden → Expanded
Swipe down: Expanded →...
Score of 0
1 answer
109 views
How to make a better OTP/Pin Text Field
My original attempt used seperate TextFields for each pin number. When a pin number was entered it would go to next TextField. On typing Backspace in an empty TextField it would clear the previous ...
Score of 4
2 answers
173 views
How do I make an infinite animation with ease in?
I'm using jetpack compose in kotlin for my Android project. I am trying to animate planets orbiting around a center, which works perfectly. The animation starts at a button push and will continue ...
Score of 2
1 answer
81 views
I can't get Material 3 ButtonGroup
I want to create a group of action buttons, but I am having trouble using ButtonGroup.
Android Studio does not provide any hints or autocomplete suggestions because it cannot find this component.
My ...
Best practices
0
votes
2
replies
96
views
Is there a simple way to navigate to cross-graph Routes from a single place - Navigation 3
Problem
Before migrating to Navigation 3, I used a single Route type with the following deeplink redirect logic:
Navigation 2 - Route.ValidatePin:
PinScreen(
onNext = {
val destination = ...
Best practices
0
votes
1
replies
99
views
Is there a way to give Device Owner Permission in app without running it in Kiosk Mode?
I am currently developing an enterprise-level Android application and need to implement a robust, seamless app-update mechanism. Specifically, my application requires the ability to perform version ...
Score of 1
1 answer
127 views
Kotlin ViewModel StateFlow - Properly Updating State Changes
This question is to understand StateFlow in a view-model. How to update the value more than one time properly. So, a very interesting issue happens, value updates for this first time, when, say authV1 ...
Score of 5
1 answer
264 views
Gradle cannot resolve androidx.compose:compose-bom:2026.06.00
PROBLEM
I want to upgrade my Jetpack Compose version to the latest available release.
According to the Compose BOM mapping page:
https://developer.android.com/develop/ui/compose/bom/bom-mapping
the ...
Best practices
0
votes
2
replies
84
views
When can omitting an explicit annotation target be dangerous?
Recently, Android Studio has started highlighting some annotation usages in my Kotlin code. I get the following warning:
The annotation is only applied to the parameter.
An explicit annotation use-...
Score of 2
0 answers
131 views
ModalBottomSheet continuously bounces/jumps after fast upward fling when content is near full-screen height
I'm facing an issue with ModalBottomSheet in a Jetpack Compose Android project.
Issue Description
When the ModalBottomSheet contains a large amount of content (making its height close to full screen), ...
Score of 1
0 answers
49 views
Does LazyLayoutCacheWindow ahead prefetch work on iOS in Compose Multiplatform?
I’m trying to confirm the behavior of LazyLayoutCacheWindow on iOS in Compose Multiplatform.
In our project we are using Compose Multiplatform 1.10.3, and we tried something like:
@OptIn(...
Score of 1
1 answer
144 views
Android Compose: Text overlapping status bar in Preview(showSystemUi = true), not on device
I am starting my first Compose project with Android Studio (Panda 4 | 2025.3.4 Patch 1). I just opened Android Studio, slected New Project > Empty Activity, and did not add one line of code.
When I ...
Score of -1
0 answers
95 views
Can ComposeUIViewController provide intrinsic content size to SwiftUI UIViewControllerRepresentable?
I'm using Compose Multiplatform on iOS and embedding a ComposeUIViewController inside SwiftUI.
My hierarchy is:
SwiftUI ScrollView
└── UIViewControllerRepresentable
└── ComposeUIViewController ...