Design of android application

R3turnzR3turnz DEMember

Hello,
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?

Answers

  • GuyProvostGuyProvost CAMember ✭✭✭
    edited December 2016

    @R3turnz said:
    How can I make this pull-out menu to let the user open a second activity?

    With navigation

    @R3turnz said:
    This will be the location screen, where the user can input city/coordinates. How can I transfer this values to the fragments?

    Through an Intent

Sign In or Register to comment.