I try show AlertDialog when press a button. For AlertDialog i have a composable function - showDialog. It is clear that this function calls a dialog. I have ano
I implement paging 3 follow this codelab. codelab But when i create UserPagingRepository, i have problem that data class is not map. In Room DataBase, i use Use
When I double click the same item or if I go to each composable screen very quickly i receive an error, How do I solve this problem? I tried changing few things
Fragment Structure Fragment Stack I want so that on back press I load fragment with my old data state A->B->C->C Fragment Stack, nav graph created even
The picture shows the code and logs For some reason startDate and endDate not recreated
I am converting my older XML UI as per requirement. in there, I am unable to update by Jetpack compose UI by my override function. In some research I see many w
I basically have the same problem as this post, except I'm using Jetpack Compose, instead of the old View model. It happens with any kind of content - I tested
When I start a basic androidTest my app crashes: @Test fun myTest() { val scenario = ActivityScenario.launch(MainActivity::class.java) // ... } This is
I have a ComposeView inside a ConstraintLayout like that: <androidx.compose.ui.platform.ComposeView android:id="@+id/compose" android:lay
I am searching how create custom dialog in Jetpack Compose. In XML or Material Design we can create easily custom Dialog in which we can take user input, radio
I just started to use the Jetpack compose toolkit. I added the @Preview and a set showBackground = true, showSystemUi = true as parameters and it works really g
I'm starting to notice some jank in my app and I believe the cause is composables being re-composed when they should not. I've detected a few user interactions
I have 2 screens which both have their own Scaffold and TopAppBar. When I navigate between them using the Jetpack Navigation Compose library, the app bar flashe
I have a vector drawable which has two paths with different attributes referencing to different theme colors. And these attributes' values are being changed by
I'm trying to assign a negative value to the padding modifier but the app had crashed. Have a look at my code. Thanks if you can help or give me an alternative
I'm new in jetpack compose and trying to understand the difference between remember and mutableStateOf In other words the deference between this line val text
Scenario: I have 2 fragments ProductList and ProductDetail in my nav graph. And when i click on any product it opens the ProductDetail fragment using findNavCon
I need a help to detect adapter onclick event in activity class with the help of dagger hilt. Step1 : I have created one interface class which name is ItemClick
I was implementing the outlinedTextField in android using new compose library. But strangely the input data was not updating in the text field. So I searched an
I want to take screenshot of specific composable function on Jetpack Compose. How can I do this? Please, anyone help me. I want to take screenshot of composable