I am starting to write an application that is based on a very much like the ViewPager element, the whole application itself has two screens, on each of these elements.
It turns out like this:
SplashScreen
-> Activity1
-> Activity2
Activity1
holds on 2 fragments. Fragments and Activity contain the info from db + retrofit requests.
Activity2
- already holds 5 fragments. From any fragmnet you can go to Activity1
, one of the fragments can save in db + send retrofit requests.
In development, I recently, and from architectural solutions, I only know MVP, and that in theory. Therefore, for more than allocating a separate module for the models I have nothing enough for now.
Question: how to build this application? Use MVP?
These questions were suggested to me by the thought that in the future I would face the problem of testing this colossus and possibly the problem of data transfer. I understand that MVP should be applied, but 7 fragments in conjunction with MVP do not fit in my head (like the MVP itself, by the way), I don’t know how to start at all.
UPD: if minus, please specify in the comments for what.