I would like to ask for suggestions regarding an app that i am making…
In my application, if a user presses a particular button in screen 1, then a dialog will appear on screen 2 ONCE screen 2 is opened. Otherwise, if the button on screen 1 is not clicked then the dialog on screen 2 will not show.
I am not asking you guys to post chunks of code for an answer, but I am just asking for the steps/algorithm that I should follow in order to achieve my goal…thanks in advance!
When you create the
Intentto start activity2 set an extra parameter on it withThen in activity2 you can use this: