Required onDismissListener, add to top of all activities, if start new activity should also appear
Opened this issue · 2 comments
Deleted user commented
I have shown a toast and and started another activity but the toast has been hidden in the previous activity as the new activity came at the top of that.
Add option to stay at top of all the activities. or add a dismiss listener.
keyboardsurfer commented
Since Crouton requires an Activity context to do it's job, this is not possible.
You can remove the Crouton in the onPause or onDestroy method of your Activity via Crouton.hideCroutonsForActivity(this);
and then re-display it within the next Activity.
Deleted user commented
What I did is I just send a small extra and if the extra is present the Crouton shows the alter. Thanks.