• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Unable to replace master fragments

  • Thread starter Thread starter Member1779369
  • Start date Start date
M

Member1779369

Guest
Can someone please try and help with this scenario. I've spent weeks trying to solve this but have not had any luck whatsoever. All help would be highly appreciated. Even if someone had a go at creating this and emailed me the zip file, I'd be very grateful. More info about the issue can be found in the link below:


http://stackoverflow.com/questions/30356912/fragment-activity-not-inflating


I want to create a master detail flow app (for both tablets and phones) containing 3 lists that does the following:


List #1 name: "Main"

List #1 items: "Continents", "Countries"
When the user selects 'Continents', I want the Continents list to appear in the Master fragment replacing the main list.
When the user selects 'Countries', I want the Countries list to appear in the Master fragment replacing the main list.


List #2 name: "Continents"

List #2 items: "Europe", "Asia"
When the user selects 'Europe', I want the Europe activity to appear in the Detail fragment.
When the user selects 'Asia', I want the Asia activity to appear in the Detail fragment.


List #3 name: "Countries"

List #3 items: "United Kingdom", "Japan"
When the user selects 'United Kingdom', I want the UK activity to appear in the Detail fragment.
When the user selects 'Japan', I want the Japan activity to appear in the Detail fragment.
 
Back
Top Bottom