Skip to main content

All Questions

1 vote
0 answers
28 views

How to keep the button over the other elements even if it is disabled in Jetpack Compose?

I have a screen where I display a list of items: Scaffold( content = { //List of items }, floatingActionButton = { Button( onClick = { if (...
Always Learner's user avatar
0 votes
1 answer
95 views

Composable recomposing even with strong-skipping mode enabled

I have tested this using Kotlin 2.0.0, 2.0.10-RC and 1.9.20 just to be sure thisn't some weird Kotlin compiler issue. However, I am currently struggling to understand how lambdas affect the ability to ...
Andre Thiele's user avatar
  • 3,901
1 vote
2 answers
33 views

Any solution to apply rounded corners in Jetpack Glance

Is there any solution to apply rounded corners in Rows or Columns in Jetpack Glance cornerRadius works only in android S+, so any workaround ? @Composable fun ParkingSessionsWidget(sessions: List<...
Anis Amh's user avatar
1 vote
1 answer
61 views

Jetpack compose navigation: why I have wrong hierarchy of a destination?

Problem: I have an issue with the hierarchy of my Compose Navigation. The version of compose-navigation I am using is: androidx.navigation:navigation-compose:2.7.7. Background: I am trying to ...
sunakulto's user avatar
1 vote
0 answers
35 views

Preserve the scroll position and paging data when switching tabs in Jetpack Compose

I have two tabs: Video and Magazine. The screens for both tabs are identical, utilizing Jetpack Compose for the UI. Data is fetched using the Paging 3 library from a common API endpoint, ...
Veeresh Charantimath's user avatar
0 votes
0 answers
39 views

Compose Lazy Column is very Laggy while scrolling

In my compose Application I have a simple list with LazyColumn but I'm facing a lag when I scrolling specially at first In my list I have a image loading and had some conditions but I remove those ...
amirhesni's user avatar
  • 459
0 votes
0 answers
37 views

How to make delayed arrival of tooltips in jetpack compose?

I am using ToolTipBox and tooltip, they work fine, i can customize the appearance, but the tooltips show up too fast, so when i`m hovering over the row of buttons it looks like crazy slideshow. I want ...
KimKar's user avatar
  • 1
0 votes
1 answer
48 views

Box lose shape while scrolling LazyRow

I have a problem, when i scroll my LazyRow, boxes which going out from it lose their shape. I am using a modifier.clip(RoundedCornerShape(20.dp)) and if item is visible in row it clips, but if not it ...
Егор Сауткин's user avatar
3 votes
2 answers
122 views

Is there a way to use LazyRow to set the height of each child Composable to match the height of the tallest child Composable?

I'm trying to create a UI in Jetpack Compose where each child Composable has the same height as the tallest child Composable. Initially, I implemented this using Row and IntrinsicSize, but I noticed ...
user25428584's user avatar
0 votes
1 answer
246 views

Error related to AlarmManager permission.SCHEDULE_EXACT_ALARM or android.permission.USE_EXACT_ALARM

I have an related to AlarmManager: receiver.BootCompletedReceiver.onReceive. Someone help me fix error, this occurs when user update app on Android 14? Thank u very much Exception : java.lang....
Minh Tiến Đào's user avatar
0 votes
2 answers
75 views

Is it possible to keep the state of the Jetpack Navigation (NavHost) after the screen rotation which leads to activity restart?

Main issue is that I want my app to show the same screen it was showing before and after screen rotation. I want the NavHostController backstack to stay the same too. I have an Android application ...
Ali Has's user avatar
  • 670
2 votes
1 answer
76 views

Kotlin jetpack compose API call without endpoint and in post method

interface ApiInterface { @Multipart @POST("/") suspend fun getRendomFact( @Part("secret_key") secretKey: String, @Part("token") token: String, @Part("...
Arvind Gehlod's user avatar
1 vote
1 answer
91 views

Passing UI and Click events in multi module app using Android Jetpack compose

I'm working on a scenario with Jetpack Compose where I dynamically generate the UI based on the details of Android UI components (data) received from an API response. I've created a separate module ...
S S's user avatar
  • 301
1 vote
0 answers
63 views

Carousel autoscroll is not working when it focus jetpack compose

I am facing an issue regarding Carousel. Here I share my code. In this code I want to perform autoscroll my images. When I am focusing any of other view around carousel that time autoscroll will ...
Vishal Bhimporwala's user avatar
1 vote
1 answer
101 views

LargeTopAppBar is collapsible even if the inner content is not scrollable in Jetpack Compose

I am trying to implement a screen that uses TopAppBar and some items with LazyColumn. However, LargeTopAppBar is collapsible even if the inner content is not scrollable. STEPS I made a scrollBehavior ...
ChungJungSoo's user avatar

15 30 50 per page
1
2 3 4 5
94