cgeo/c-geo-opensource — comment on commit d51848cfdc0c647de75bbdce7c006b685a7a49d1
File: main/src/cgeo/geocaching/cgeodetail.java line 1099
By Bananeweizen:

I'm not exactly sure of that, but this is want I think: It is necessary if the view content can become "empty" while the activity is already open. So every cache information which might be "reset" when pressing the "refresh" button needs that else case. Those are for example hint, spoilers, trackables, ...
For all other information the default invisible state from the XML is enough, because the view will never change after the activity has been opened once.