Questions tagged [android-jetpack]
Android Jetpack is a Google's set of libraries, tools and architectural guidance to build Android apps and provides common infrastructure code.
android-jetpack
3,085
questions
9
votes
1
answer
1k
views
Is the androidx.security:security-crypto module being deprecated or not? What is the alternative?
Trawling through android documentation and I found information indicating that the jetpack security module androidx.security:security-crypto has been deprecated, here are some of the links https://...
0
votes
0
answers
111
views
Jetpack Compose Accessibility ClickableText vs BasicText with modifier.clickable
To enhance accessibility, I aim to make links within a “Terms and Privacy Policy” paragraph navigable via external keyboard input. Initially, I encountered challenges getting the focus behavior I want ...
0
votes
0
answers
71
views
select part of png image jetpack compose
im creating a map that shows avalable seats of a place . user have to choose the reagion of the map for ezample red one and afther that click on seat that wants to reserve
i have problem with ...
0
votes
0
answers
405
views
Credential Manager always returns "GetCredentialCancellationException: activity is cancelled by the user" Google sign in with jetpack
Credential Manager in Android Jetpack Compose always returns "GetCredentialCancellationException: activity is cancelled by the user" when attempting login with google
Hello,
Even when using ...
0
votes
1
answer
57
views
Best way to build `testTag` string throughout Compose heirarchy
I have a Jetpack Compose project that I want to add testTag modifiers to.
Ideally what I'd like to be able to do is build my tag as I proceed further down into my views
aka
Home
Home-Account
Home-...
1
vote
1
answer
162
views
How do I observe when a list stored in another class changes to update my Compose UI?
I'm new to Compose and Android, so I may use some incorrect terminology here, but I'm basically trying to observe when a list is changed and update my UI accordingly. The list is immutable so I just ...
0
votes
0
answers
77
views
Jetpack Compose: A clickable TextField with Ripple effect
I'm trying to create a clickable TextField in compose, no matter OutlinedTextField or BasicTextField. I just need the look of the material TextField with the label and borders. What I'm using ...
0
votes
0
answers
35
views
Exception in WorkerManager Jetpack
Many exceptions have been raised in FB Crashlytics with stack trace:
Fatal Exception: android.database.sqlite.SQLiteException no such
table: SystemIdInfo (code 1 SQLITE_ERROR): , while compiling: ...
0
votes
0
answers
30
views
Cant call Another Composable function inside the onClick parameter of Card which is inside another Composable [duplicate]
so i have made one alert dialog inside a EnterAlertDialog composable function and when the card is clicked then inside the onClick parameter of the Card which is in AmlanCard Composable i need to ...
0
votes
2
answers
340
views
How can I programmatically set the language in Jetpack Compose without AppCompatDelegate?
I'm trying to implement language selection functionality in my Jetpack Compose app. However, I encountered a roadblock when attempting to use AppCompactDelegate to achieve this. It seems that ...
0
votes
1
answer
43
views
Vertical grid with banners that span all columns using compose
Using Compose to create a 3 column vertical list, but from time to time i need to insert a component that spans across all 3 columns, like a banner that fills the entire width of the screen. I am ...
0
votes
1
answer
42
views
How to keep SplashScreen showing until dataStore is loaded in jetpack compose?
I want to keep the SpalshScreen (SplashScreen Api) untill the dataStore is loaded. Once dataStore is loaded it should go to the main app content. Here is my Code that i've attempted but its not ...
1
vote
2
answers
147
views
How can I manage Jetpack Compose navigation during configuration changes?
I've encountered an issue where I'm using ViewModels for each screen to store inputs and variables. After implementing Jetpack Compose navigation, I noticed that it returns to the startDestination on ...
0
votes
1
answer
31
views
Get width of a composable without rendering it
I want a Text composable that displays day-of-week i.e. - monday, tuesday, wednesday etc.... with the width fixed to the width of same composable for the longest day-of-week.
In english it would be &...
0
votes
1
answer
60
views
How to Prevent Flickering Effect when Switching Screens based on DataStore Value in Jetpack Compose?
I'm utilizing the DataStore value isLanguageSelected to determine whether to display the HomeScreen() composable or the LanguageScreen(). While the functionality works as intended, I'm encountering an ...