Answer the question
In order to leave comments, you need to log in
How can a presenter receive data from the network in MVP?
I recently started learning the MVP pattern.
I understood how the view and the presenter communicate with each other. But here's how the presenter gets data from an asynchronous request to the server - no.
Answer the question
In order to leave comments, you need to log in
From Model)
I advise you to read these articles, here everything is chewed in detail how and why.
https://habr.com/ru/company/mobileup/blog/313538/
https://habr.com/ru/company/mobileup/blog/335382/ The
question is philosophical, it is more about how you want to represent Domain layer. It is possible on a wedge through a domain layer, it is possible directly with a hatchet.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question