Skip to main content

All Questions

Filter by
Sorted by
Tagged with
-1 votes
1 answer
110 views

Android - show message after form submit and go to another Activity

I have a simple form in Android, and I want to show a message after clicking the Submit button and after some time it should go to another activity. My code: public void submitbuttonHandler(View view) ...
Darksymphony's user avatar
  • 2,633
0 votes
1 answer
353 views

Show snackbar after startactivity

I created a sign-out button in my app. Once the user clicks sign out, it signs out and moves the log-in activity. I had like that once the user clicks on sign-out, it will move to the log-in page and ...
Ben's user avatar
  • 1,837
7 votes
1 answer
559 views

How does Google Inbox show a snackbar covering the keyboard?

How does Google Inbox show the snackbar over (covering, layering) the keyboard? This is not the default behaviour, which I've tested with a basic coordinator layout, the keyboard open and a snackbar: ...
Erik's user avatar
  • 4,543
0 votes
2 answers
1k views

Snackbar onclick do ondismiss action

Hello my App have a scanner and if the code don't correspond to anything, it show a snackbar asking the user if they want to add the scanned product to the database with a click on the snackbar button,...
Ggs's user avatar
  • 81
0 votes
3 answers
3k views

Android snackbar null object reference

I have a simple login page for my app and the first thing I'm doing is checking for permissions. I have to do this at the very beginning because none of the apps functionality will work without all ...
Simon's user avatar
  • 10.1k
3 votes
3 answers
4k views

SnackBar still showing when I come back to previous Activity

I have a SnackBar in Activity A, if I click on a Button in Activity A I navigate to Activity B. If I press back immediately, I can see the SnackBar still being show in Activity A. How to make ...
Logic's user avatar
  • 2,258
59 votes
4 answers
62k views

Snackbar is not working within fragment class

I am trying to show snackbar view when I click on button but it shows force close error when I click on button I have define fragment class below and also error log. I have fragment class: public ...
user avatar
4 votes
1 answer
5k views

Android - Snackbar between Activities

How i can show snackbar in Activity A (coordinatorLayout is here) when my callback in Activity B is done ? Snackbar need my coordinatorLayout but i can't give it from Activity B.. Activity B : @...
Emmanuel Loisance's user avatar