grine4ka / footea

Application to stay at the cutting edge of android development
MIT License
0 stars 0 forks source link

Move from MVP to MVVM #20

Open grine4ka opened 1 year ago

grine4ka commented 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:

grine4ka commented 1 year ago

Watch this docs as an example: https://github.com/android/nowinandroid/blob/main/docs/ArchitectureLearningJourney.md