You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to use isDissmissible=false, to turn off swiping dissmissible. I want to dissmiss snackbar just manually by a condition (in code).
And now swiping doesnt dismiss the snackbar, but when I press the native android "back" button, the snackbar is dismissing.
How can I turn off all possible ways to dismiss except of manually call Get.back() ??
When I call Get.snackBar(isDismisiible: False) - snackbar is showing, then I push native android "back" button - snackbar is dismissing, but I have condition in my code to call Get.back(), and when this condition is triggered, my code Get.back() close the application, because there are no snackbar, because native back button has already close it.
How can I work with this correctly ?
I want to use snackbar for showing nondissmissible snackbar when app lost internet connection and dismiss the snackbar when connection is restored. And I want to turn off all possible ways to dismiss the snackbar except of manually Get.back() call.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I try to use isDissmissible=false, to turn off swiping dissmissible. I want to dissmiss snackbar just manually by a condition (in code).
And now swiping doesnt dismiss the snackbar, but when I press the native android "back" button, the snackbar is dismissing.
How can I turn off all possible ways to dismiss except of manually call Get.back() ??
When I call
Get.snackBar(isDismisiible: False)
- snackbar is showing, then I push native android "back" button - snackbar is dismissing, but I have condition in my code to callGet.back()
, and when this condition is triggered, my codeGet.back()
close the application, because there are no snackbar, because native back button has already close it.How can I work with this correctly ?
I want to use snackbar for showing nondissmissible snackbar when app lost internet connection and dismiss the snackbar when connection is restored. And I want to turn off all possible ways to dismiss the snackbar except of manually Get.back() call.
Beta Was this translation helpful? Give feedback.
All reactions