Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
38 views

How to make Custom TextField?

I am trying to design a search bar like Google search bar with decreased height. But the Input text is getting cropped also the placeholder text. @Composable fun SearchInput1( modifier: Modifier = ...
zzangse's user avatar
1 vote
1 answer
21 views

Unwanted animations between pages in a NavHost that can't be disabled?

When I switch between my 3 pages with bottom bar navigation, the pages slide and fade all around inconsistently and I want these animations completely disabled, or at least cleaner and more consistent ...
keegaroo65's user avatar
0 votes
0 answers
17 views

Jetpack Compose showKeyboardOnFocus flag don't work

I am using a Jetpack Compose OutlinedTextField and have set its KeyboardOptions to showKeyboardOnFocus = false. According to the documentation, this should prevent the soft keyboard from appearing ...
bajo's user avatar
  • 31
0 votes
0 answers
20 views

NoCredentialException: No credentials available

I am trying to add google sign in using Firebase in my Kotlin jetpack compose. But it is giving me the issue - No Credentials available. I want to show the list of google accounts and then one can ...
Ajay Satpati's user avatar
1 vote
1 answer
53 views

How to fix "Cannot create an instance of class ViewModel" when using Hilt?

I am doing a JetPack Compose course and I am trying to run an example project showcasing use of ViewModel together with Hilt. @AndroidEntryPoint class MainActivity : ComponentActivity() { override ...
Cristi's user avatar
  • 756
2 votes
2 answers
59 views

Typesafe Navigation crashes with IllegalStateException: You must call setGraph() before calling getGraph()

This is my first Android app. Currently I'm working on the navigation part. Now the issue is, whenever I click the IconButton to navigate to the Add Notes Screen the app crashes with this exception: ...
Shehara Nayanananda's user avatar
0 votes
0 answers
25 views

Jetpack Compose TV: Card click not working after returning from long press + fragment navigation

I'm working on an Android TV app using Jetpack Compose inside Fragments. Here's my setup: I have Fragment A that contains a TvLazyColumn with multiple custom Card Composables (which wrap a Material3 ...
developKinberg's user avatar
0 votes
1 answer
49 views

How to make tween animation duration dynamic in compose?

I'm trying to create a form to change the animation duration. I've connected the DropdownMenu's click listener to animTime, and I've verified that animTime does change 3000 -> 300, but the actual ...
Some Noob Student's user avatar
1 vote
1 answer
31 views

What makes items in a LazyList be the same `contentType`?

In Jetpack Compose, the LazyListScope.items function is defined as /** * Adds a [count] of items. * * @param count the items count * @param key a factory of stable and unique ...
NoBullsh1t's user avatar
0 votes
1 answer
39 views

Jetpack Compose: Build UI dynamically based on runtime data

I'm working on an Android app using Jetpack Compose where users can customize their own screen layouts to create a native-feeling UI. The layout structure is completely dynamic — at runtime, based on ...
Rohan Pande's user avatar
0 votes
1 answer
40 views

Top app bar has extra space for some reason?

I'm new to jetpack and trying to add a top app bar to my app. It works but if you like at the image I have shared there is a bunch of space on the top of the the appear. I made the app bar background ...
Justin Sinnard's user avatar
0 votes
0 answers
31 views

How to prevent downswipe inside a lazycolumn in a modal bottom sheet using jetpack compose?

I have created a normal modal bottom sheet. Inside the modal bottom sheet, I have a lazycolumn with items. I have run into the problem that when a user scrolls to the top of the items of the ...
Josef M's user avatar
  • 406
-1 votes
2 answers
54 views

How to observe map change in jetpack compose?

I wanna do some network request and show the list results in jetpack compose. I pass the request params to list widget. But the list widget cannot recompose after the map changed, even added a key. ...
magic_9527's user avatar
0 votes
0 answers
13 views

How to access RevenueCat PurchaseParams.Builder?

I can't figure out how to use the PurchaseParams.Builder() The docs use it this way: Purchases.sharedInstance.purchaseWith( PurchaseParams.Builder(this, aPackage).build(), onError = { error, ...
buleva's user avatar
  • 123
-1 votes
0 answers
71 views

Recompose is not happening if state is changed

I need your help in the following problem. When I navigate to a SignUpScreen and try to make a signup and force an error (by try to signup with already used email/password combination) I would like to ...
Frank IstDochEgal's user avatar

15 30 50 per page
1
2 3 4 5
951