I’m building my application applying MVC pattern.Following this guide mvc guide, I would make an application made of a button.when I press button appear me another view when I repress the button appear me the previously view.how can I made ?some advices?
I’m building my application applying MVC pattern.Following this guide mvc guide , I would
Share
Well Button will act as the Controller here……..
If you want always to show the same View again and again, by repressing the Button, use Singleton Principle
If not, you can initialize a new View again, from within the onClick() method of ActionListener…
Edited: