Category "android-jetpack-compose"

Jetpack compose scrollable table

I need to have a component that scrolls vertically and horizontally. Here is what I did so far: @Composable fun Screen() { val scope = rememberCoroutineScop

How to add arc for rounded corner for cut off area in jetpack compose?

I wanted the rounded curve around the corner of triangle in left and right. I tried to add arc but I don't know it's not working maybe the coordinate are wrong

org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$

I am getting runtime exception while building the project. I have added Jetpack compose dependencies extra to the build.gradle file. I could see the following e

How to prevent onDismiss Callback to be call, in custom AlertDialog with Jetpack Compose

I was developing an app which I use Jetpack compose to define the UI. I was implementing some localdatabase such as Room, and I try to implement the remove oper

Unresolved reference: ExposedDropdownMenuBox in Compose for Desktop

I need to implement a drop down menu for Windows App which is based on Compose for Desktop For that I am trying to use ExposedDropdownMenuBox But I am getting e

Why does a Flow which return records from Room keep to emit data when I add onStart { }? Is it bugs of Room or Compose?

I query records and return them as Flow<List<RecordEntity>> with Room. I run code A, and get result A as I expected. I hope to display a Loading UI

I can draw a straight line between two points but I want to draw a route. how to do this? com.google.maps.android.compose

I'm using the free Maps SDK for Android with https://googlemaps.github.io/android-maps-compose/index.html I wanted to draw lines between two points.but Polyline

How to build a tree using LazyColumn in Jetpack Compose?

In my jetpack-compose app, I'm building a comment tree, where the top level, and the leaves, are lists, that would be best to use LazyColumn. This is of the for

Recompose when back to activity

I have an activity with a list of items (LazyColumn). When I click on an item, it launches a new activity to edit the item. If I change the item and save it, go

@Composable funck. into onClick event - Jetpack Compose

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

Automation testing framework for Jetpack compose

we have re-written couple of features in Jetpack Compose successfully. we have hit a roadblock where our QA says the existing automation script they have writte

How to detect state of ModalBottomSheetState while swiping bottom sheet in compose

simple question, How to detect state of ModalBottomSheetState while swiping bottom sheet in compose? I mean, I want to know how can I find out where state of M

compose can not test Dialog

I have dialog in compose: @Composable fun testgtt() { val saveDialogState = remember { mutableStateOf(false) } Button(onClick = { saveDialogState.value

add collection to firestore with kotlin problems

I am trying to understand and use firebasefirestore from android studio with kotlin. I have been following tutorials from the official docs, and from udemy and

Jetpack compose - How to do popBackStack with arguments?

I have this scenario in which the user clicks on a button in composable A then selects an item from the list from composable B and selects another item from the

Fatal Exception: java.lang.IllegalArgumentException offset(23) is out of bounds [0, 0] JetPack Compose OutlinedTextField

Facing one crash in the jetpack compose, can anyone please help me with this. Fatal Exception: java.lang.IllegalArgumentException: offset(23) is out of bounds [

Composable calls are not allowed inside the calculation parameter of inline fun

I am trying to access the dao instance of my room database which is being used to store names(This code I wrote just to get familiar to jetpack compose). I trie

Is there a way to delay a Spring AnimationSpec in Jetpack Compose Animation?

In Jetpack Compose Animation, for tween AnimationSpec, we can have a delay val translationY by transition.animateFloat( tran

Admob Banner randomly changing from BANNER to FULL_BANNER size with Jetpack Compose

I am integrating Admob's banners in my app, this app runs both in AndroidTV and Android, where it's running in mobile the dimensions must be 320x50(BANNER) whic

Jetpack compose deeplink handling branch.io

I'm using branch.io for handling deep links. Deep links can contain custom metadata in a form of JsonObject. The data can be obtained by setting up a listener,