I am having this issue where I have to navigate when given state gets updated after an asynchronous task gets executed. I am doing it like this: At ViewModel.kt
I was unable to find any documentation on how to create preference screens in a pure Compose way without using a fragment. Can anyone please suggest the best wa
I'm trying to implement a dialogFragment with custom layout in Jetpack compose but can't find any samples. Do I need to wrap the UI components inside a Card/Sur
I am trying to remove padding from TextButton but it wont work. TextButton( onClick = {}, modifier = Modifier.padding(0.dp) ) { Text( " ${ge
Is there a way where we can control for every screen different states of the keyboard, for example I have one screen where I want to adjust size of the keyboard
I am wondering if it is possible to get observer inside a @Compose function when the bottom of the list is reached (similar to recyclerView.canScrollVertically(
Just like Sliver in Flutter or StaggeredGridLayoutManager in android reyclerview so I can insert a banner or some thing else into grid layout
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 want to fetch data from room table using a search query and present the result in LazyColumn instead of the someList I present there. In other words, how to i
The text in the app still remains black even if the theme is set to dark and background is dark. Just take a look at the code and screenshots below. Theme.kt (h
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 have scoped a viewmodel to an activity like this: scope<MyActivity> { scoped<UseCase1> { UseCase1Impl(get()) } scoped<UseCase2&
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 a home screen in my application that is basically content with a navigation bar Each of the three selections of the navigation bar lead to a different sc
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 usecase where I would like a LazyColumn to scroll to the top if a new item is added to the start of the list - but only if the list was scrolled to top
While studying through the Jetpack Compose sample project, I saw @Stable and @Immutabe annotations. I've been looking through the Android documentation and GitH
I have a TextField in which there cannot be more than 10 characters, and the user is required to enter date in the format "mm/dd/yyyy". Whenever user types firs
I'm looking to implement a calendar-like application including a day-detail screen in Jetpack Compose. This screen has a TopAppBar, in which i'd like to show th
I want to provide some autofill functionality in my app (email and password) that is written completely using Jetpack compose. I came across this blog post and