udacity / Android_Me

App that lets you style your own Android! This uses Fragments to create a flexible and responsive UI.
261 stars 1.01k forks source link

Replacing Fragment when a simple update would accomplish the same #50

Open galamdring opened 6 years ago

galamdring commented 6 years ago

In the 2pane view, the video and solution show replacing the fragment for each body part when a new item is selected. This seems overly complex, and does not convey anything about communicating back into that fragment. A much easier option would be to make the imageview held in a class variable and update its resource when the Index is updated.