In the last episode we’ve created the settings fragment. We’ve already successfully implemented the unit system setting with which a user can switch between metric and imperial values. There are also some settings which we haven’t touched yet, though. Those are related to location.
Location is quite a big topic to deal with. We need to start adding the weather location into the database, incorporate it into the repository, add some code which is actually displaying the location in our view and most importantly, code the business logic of location handling.
These four things are not going to fit into one sensible video and that’s why in this part we’re exclusively going to deal with the database and the underlying interface of our business logic. Then, in the next part we’re actually going to implement the business logic properly.