Help me here please I am using the MVP architectur...
# android
r
Help me here please I am using the MVP architecture, the fragments are used as the View component of the MVP. What about my activities ? What should they stand for in the MVP ? 16 replies In many cases, i prefer using a fragment as a layout inflated, then a activity only for a container for a fragment (i know other people using a fragmentless approach). why should using a fragment instead of directly using activity? Using a fragment have advantages, you can create a modular ui component for it. lets says, you have has growing and business need, to extend app to tablet. if you using a fragment in previous development, you can easily extend you current code. using modular component also, make your code has single responsibility.