493 questions
0 votes
0 answers
27 views
How to handle recyclerview delete, undo and permanently delete items
I have the method in my NoteActivity class and the NoteAdapter class. I'm facing some issues. I'm getting "java lang null pointer exception" attempt to invoke interface method NoteAdapter$...
0 votes
0 answers
77 views
Android SnackBar getting stuck in UI tests (Browserstack)
I am running automation tests in Browserstack and I'm constantly getting a failure on a specific scenario where a snackbar is shown and the test is waiting for it to go away. The snackbar never ...
2 votes
1 answer
111 views
Close button not appearing at SnackBar in Compose
I'm trying to display a snackbar in jetpack compose, but it is not displaying the right X close button present on the sample of the documentation. Instead, it's displaying just the message. I can't ...
1 vote
1 answer
66 views
Remove the background of the bottom navigation
I am testing my React Native app on two devices. And for the past two days I've been trying to find a way to remove the background of the bottom navigation. I've tried transparent mode, but it's not ...
2 votes
1 answer
587 views
Undo Snackbar with a SwipeToDismissBox
I'm starting to get into Jetpack Compose and am trying to implement a list where you can swipe to delete an item but you can also restore it via a Snackbar action. In the old XML-Layout-based world I ...
1 vote
1 answer
1k views
How can I ensure that the snackbar remains visible and not hidden behind the modal bottom sheet on Compose?
TL-DR -> How can I ensure that the snackbar remains visible and not hidden behind the modal bottom sheet? What is the reason of it? I'm creating a Snackbar using snackbarHost and snackBarHostState ...
2 votes
1 answer
260 views
Android Snackbar.SnackbarLayout obsolete; replacement?
I'm maintaining an "enterprise" Android app that runs on wrist-mounted computers in an industrial environment. When we need to let the user know something of middling importance, we have the ...
1 vote
3 answers
3k views
Don't use 'BuildContext's across async gaps in Flutter warning doesn't go away
Flutter gives me the warning "Don't use 'BuildContext's across async gaps. Try rewriting the code to not use the 'BuildContext', or guard the use with a 'mounted' check". The warning is in ...
6 votes
0 answers
565 views
Should I use a banner in Android with Material 3?
We use the Google Maps SDK. We want to use an icon inside of a Snackbar to make it easier for a user to grasp that internet connection is missing, or that he needs to zoom in, for using a feature. ...
1 vote
1 answer
66 views
Prevent Snackbar Overlap with FloatingActionButton in ConstraintLayout of Activity's Child Fragment
This is my current Setup: I have a BaseActivity that registers the snackbar on the root layout (CoordinatorLayout): <?xml version="1.0" encoding="utf-8"?> <androidx....
0 votes
1 answer
87 views
How to put snackbar button response in one suspend function in Kotlin jetpack
How to put snackbar button response in one suspend function in Kotlin jetpack. I have one SnackbarResult.ActionPerformed for all my snackbars. And I have suspend fun for my snackbar: suspend fun ...
6 votes
4 answers
4k views
Jetpack compose snackbar hidden behind bottomsheet
I show a SnackBar inside Scaffold like this: val scaffoldState = rememberScaffoldState() LaunchedEffect(offerViewModel.onAddToCartError) { offerViewModel.onAddToCartError = { ...
1 vote
1 answer
633 views
Handling Snackbar display in Compose Globally
Hi I am using the below code to handle the snackbar display globally. I am new to compose and I went through various videos and blogs, and finally came up with below. Is this the right way of doing ...
1 vote
1 answer
168 views
how to set snackbar message in the center of Screen in Angular
I have a snackbar i am calling this snackbar on the button click. Below is the button .html <button mat-icon-button (click)="UpdateCandidateData(row)" matTooltip="Save Changes" ...
0 votes
1 answer
264 views
How to design an icon in Snack bar?
Is there any way to put a button on Snack bar to do some actions like canceling , undo or closing the snack bar with clicking on a designed icon? i'm usin Kotlin and Xml in android studio tried using ...