I am new to the android platform and now need some general advice in designing my weather application that I am going to create:
- MainActivity (WeatherRepository object from libary)
- WeatherFragment (Get host activity through OnCreate and calls weather query methods, RetainInstance)
- ForecastFragment (Get host activity through OnCreate and calls weather query methods, RetainInstance, ListFragment)
How can I improve this design?
How can I make this pull-out menu to let the user open a second activity? This will be the location screen, where the user can input city/coordinates. How can I transfer this values to the fragments?