Issue I have a list of rows where each row has a checkbox icon that can be clicked or not. I want to be able to have a user check the box and then my app should save that state.
Continue readingTag: android-jetpack-compose
Jetpack Compose override parts of a theme from a library with a custom theme
Issue I’m working on creating a library for our apps in compose which is intended to hold all view components needed. This library also needs to have a custom theme. Especially for colors and fonts as each app that uses
Continue readinghow to add a single item T in Flow<PagingData<T>> in paging3?
Issue implementing a chat application interface in jetpack compose using paging3, the list contains message and date module, the issue is when i create a new message i get that message a response, but now i want to add that
Continue readingWhat's does State and Stateless mean in Jetpack Compose?
Issue I’m relatively new to compose and while learning about it I hear the word "state" and "stateless" a lot, but it’s not well defined. It probably is, but I still don’t get it. I was reading the docs about
Continue readingInteroperability with Compose and motion layout doesn't scroll?
Issue I have a the following layout in a fragment Header Image ==================================== Tab 1. Tab2. Tab3. ==================================== Frag A. Frag B. Frag C. This fragment has a motion scene that when you scroll up the header image transitions to
Continue readingHow to use ViewModel with Jetpack Compose?
Issue I am trying to use ViewModel with Jetpack Compose by doing a number increment. It’s not working. Maybe I’m not using the ViewModel in the right way. Here is my Activity code: class MainActivity : ComponentActivity() { override fun
Continue readingHow to remove the delay when changing colors for Scaffold and TopBar (Material 3)?
Issue When I change the value of the containerColor variable, the color first changes for the entire Scaffold and only then the color of the topBar changes. There is a noticeable delay of approximately 300 milliseconds. var containerColor by remember
Continue readingjava.lang.IllegalArgumentException: Navigation destination that matches request NavDeepLinkRequest{ … } cannot be found
Issue I’m trying to implement navigation in an app with the following expected flow: List of categories displayed from whom a user can select List of recommendations associated with a given category from which a user can select is displayed
Continue readingMaterial icon size adjustment in Jetpack Compose?
Issue Jetpack compose provides a nice Icon() object to display icons that accepts a vector asset. Typically, you are able to set the size via a modifier: Icon(Icons.Filled.PersonPin, Modifier.preferredSize(64.dp)) My problem is I cannot seem to affect the size of
Continue readingMaking a vertical grid take up the entire screen for all screen sizes – compose
Issue I’m working on creating a 3×4 grid containing 12 images, each accompanied by text at the bottom, serving as options in my application. However, I’m encountering two issues with the LazyVerticalGrid: I’m having difficulty making the grid items clickable.
Continue reading