Open grine4ka opened 1 year ago
Using MVP leads to memory leaks during configuration changes. One way of getting rig of it is using retain fragments.
Another way is to move to MVVM with Architecture Components
Links:
Watch this docs as an example: https://github.com/android/nowinandroid/blob/main/docs/ArchitectureLearningJourney.md
Using MVP leads to memory leaks during configuration changes. One way of getting rig of it is using retain fragments.
Another way is to move to MVVM with Architecture Components
Links: