I've updated to Kotlin 1.5 last week, and after yesterday having seen the intention of Google to make Jetpack Compose the preferred option for designing UIs, I
I'm trying to make Kotlin's invoke operator a @Composable, everything works fine, until I add a parameter to it, which should have a default value. See the code
I'm trying to use the new Android 12 Splash Screen API but my app keeps crashing when opening the first activity. I have MainActivity as my launcher activity wi
I'm trying to follow the official guidelines to migrate from LiveData to Flow/StateFlow with Compose, as per these articles: A safer way to collect flows from A
I'm learning Jetpack Compose and I was trying to customize a display of an image with Modifier methods height and padding. But I got the Problem messages "Unres
I have a view model. I am using Hilt. I can create this view model from activity, like this val model: ProfileViewModel by viewModels() However when I try to c
I'm trying to find a simple solution on how to disable copy/paste/cut in a TextField. I did come across a couple of question but no answer.
I'm using compose-navigation(alpha09) to handle the navigation between composables I want to remove the Splash screen when moving to the next destination (I don
I found out that LazyList generates memory leaks. When I scroll down to the bottom of the list memory usage by my app increases by ~3MB. After I scroll up and u
I need to automatically refresh an Android Compose screen when the app returns to the foreground. I have an that requires permissions and location services. If
I have a JSON data looking like this questions: [ { id: "1", question_type: "FREE_TEXT", answer_type: "SINGLE_LINE_TEXT", question_text: "what's your name?", op
I want to chain title and description text centered with respect to image with chainStyle.Packed how to achieve this in jetpack compose. when i use createVertic
When I plug in fontSize = dimensionResource(id = R.dimen.textLabelTextSize) where the dimens or 54sp or 60sp depending on the device, I get an error on Text() "
I've a composable called ParentScreen and a ViewModel named ParentViewModel. Inside the ParentViewModel, I am collecting a value from my repo. class MyRepo @Inj
In the example below I can pass several composables as a function to a Column. Is it possible to pass them in any other way? Ideally, as an array of composables
I have the following composable function to build a Chip: @Composable fun CategoryChip( category: String, isSelected: Boolean = false, onSelectedCategoryC
I have couple of Path elements in my Canvas and would like to do some complex animations with every one of the Path lines. I am not sure how to approach this. L
I want to build this awesome button animation pressed from the AirBnB App with Jetpack Compose Unfortunately, the Animation/Transition API was changed recently
BottomNavigationBar() can only take the background and contentColor but there is no option for tint color.
I want to open an existing fragment from compose or if i can add inside the same compose in full screen, that will also work. Also how to navigate from one exis