Guide to Android App Architecture: Google's Recommendation and Best Practices
  Opening Note! Among numerous discussions and debates on the Internet these days about the suitable architecture to follow and adapt,  Google recently published a detailed blog  to follow best practices while we are articulating the Android App. App architecture defines the backbone of scalable, maintainable, and high-performance Android apps. In this article, I am trying to curate the key principles from Google’s official guide, ideal for an app architecture. The purpose of this article is to clarify architectural patterns and highlight universal best practices. Resources referenced: [Google’s Official Guide to App Architecture] [Phillipp Lackner’s YouTube Deep-dive] Common factors to design architecture 1. Tackle various config changes An Android App must run on a wide variety of available devices in the global market i.e., phones, tablets, foldables, and various orientations. Configuration changes like screen rotation, recreate activities. We must use ViewModels to preser...