to build a successful app think like a building architect just as a building will collapse without the right structure an app built on a shaky foundation will crash luckily a blueprint for success when building on android already exists follow our recommended app architecture guidelines to structure your app first your building needs a basic structure as well as different rooms that each serve a unique purpose similarly the data layer is the foundation of your app and consists of rules that determine how your app creates stores and changes data the data layer has different repository classes for
each data type just like the different rooms in a building now let's think about the visual details of your building such as painting the walls choosing floor tiles and picking kitchen countertops the ui layer is the part of your app that displays data on screen that the users can interact with it constantly changes in reaction to user actions such as pressing a button and external input such as network response lastly smart home features such as a smart tv can make certain home functions work seamlessly for residents in a similar fashion the optional domain layer simplifies
interactions between the ui and the data layers your app is finally ready it's been a long journey from planning to construction but you can rest assured that you've built something that your users will love are you looking for more keep learning how to build a solid function for your app here [Music]