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
I am trying to draw a gradient background in Jetpack Compose, and I would like the gradient to have a fixed angle regardless of the shape of the object I'm draw
I want to copy a string to the user's mobile clipboard but I don't have any idea how I can use clipboard services in jetpack compose, If there is any alternativ
I need a Card() Composable with a normal press and a long press functionality for a custom Card Composable. The thing is Card() has its own value called onClick
@Composable fun TopAppBar( title: @Composable () -> Unit, modifier: Modifier = Modifier, navigationIcon: @Composable (() -> Unit)? = null,
I don't know why, but my text in MutableStateFlow doesn't change when i'm changing the string in firebase console. Can someone help me and say why ? I'm putting
I am developing an app with texts and images. The images appear small, like thumbnails, on one composable (activity), alongside the text. The idea is: when the
I have a canvas positioned on the right side of the screen. To the left are some buttons. If x values of some drawbles are negative, they are drawn on the lef
I'm learning accompanist pager and I want to set effect on the pager. I want to use the lerp method like the document Modifier.graphicsLayer {
How to force compose' LazyColumn to act like traditional scrollable elements like RecyclerView or ListView? Useful when want to scroll with mouse, e.g. with vys
Is there any standard implementation in Jetpack Compose for visual component like Spinner/Wheel Picker or Dropdown Button?
I was tried to run my code in Kotlin 1.5.10 With plugin as plugins { id 'com.android.application' id 'kotlin-android' id 'kotlin-kapt' id 'dagger.hilt.android.p
When I'm trying to use LazyVerticalGrid to display a list of images, some grid items have a different size even the images itself have exactly same size 240x178
Usually when using Accompanist Modifier.statusBarsHeight() the height will change depends on the status bar visibility, if it's visible either 24.dp or more and
How to convert from Compose Color to Android Color Int? I am using this code for the moment and it seems to be working, I can't seem to find a function to get t
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
In Kotlin, function is a first-class citizen. We can store a function in a variable as below val functionVariable: () -> Unit = ::myFunction fun myFunction(
In this answer I got wrong ripple animation. Do you know how to create ripple with rounded corners using Jetpack Compose? With default ripple I have this: Code: