This is a sample application with MVP architecture, also commonly known as MODEL-VIEW-PRESENTER. The interaction between these layers are as follows:
Advantages to implement the MVP pattern :
- Code become more easy to maintain.
- Code becomes easily testable
- More organized way as separation is clear and we can easily make changes
Screenshots: