/PetApp-Android

Exercise to get hands on refactoring apps with architecture

Primary LanguageJavaApache License 2.0Apache-2.0

PetApp-Android

Master branch code is Legacy code, and it's been roughly refactored in MVC, MVP and MVVM. Main focus is to write some Testing code, feel free to use code if you found it's helpful.

Legacy code is roughly modified into MVC pattern.

Implemented tests based on MVC code, after writing unit-test based on the result some logic also has been re-written.

Refactored code to MVP pattern.

Implemented unit-test for testing view(interface).

Refactored code to MVVM.

Implemented unit-test for view model.

This code is not perfect. Mainly focused on unit-test in various patterns If you find this code helpful, feel free to use.

Thank you!😊🙏