Vivek Sharma
11/30/2020, 9:42 AMSnackbar
? I found 2 methods on docs, 1 is taking boolean state
and making it visible/hide
on button click but here Snackbar doesn't get disappear after some interval (as we are controlling through state).
2 is when using Scaffold
, it has snackbarHost
where we customize our snackbar and display using a Coroutine Scope
.
So how can we make Snackbar hide after some time in 1 method? or should we use 2 methodallan.conda
11/30/2020, 9:57 AMallan.conda
11/30/2020, 9:58 AMallan.conda
11/30/2020, 9:58 AM