When to use getparent()
<p>In my custom view I need to use the getParent method and set the visibility on some of it's child views depending on my custom view's state. The problem is that I want to instantiate the child views just once. Where is the best place to do this?</p>

<p>Thanks a lot,</p>

<p>Gratzi</p>
