Please navigate me with the following problem. I have an AlarmManager that send a notification at specific time only if my app isnt on foreground. My goal is the show a snackbar in any current activity if user uses my app right now and insert to this snackbar message from notification
In short. If app isnt on foreground - send notification. if it is - show snackbar. How to show a snackbar current activity?