MVP presenter status in Java Android Applications
•
Android
I use maps in Android. Therefore, I want to save the state of some presenters when I leave the activity (rather than rotating the screen) to save data. Except for the singleton with ArrayList, I can't find a solution, but I want to use the solution I've written. Thank you
resolvent:
Check out the Android boilerplate source code, which uses dependency injection and retains the presenter through dagger scope
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码