title: What happens to text in TextView object, when its visibility is set to View.GONE?
body: <p>I have a <strong>TextView</strong> object in an activity(not a fragment) which I fills some text using <code>SetText()</code>.  In some point of time, I change the visibility of the <strong>TextView</strong> object to View.GONE. After sometime, when <strong>TextView</strong> object's visibility is set to View.VISIBLE, the text set dynamically is not shown in <strong>TextView</strong>. I tried to understand what happens using Log, and found out that the content of <strong>TextView</strong> object is empty string. Hence my question, What happens to text in <strong>TextView</strong> object, when its visibility is set to View.GONE ?</p>
  
  <p>synopsis:</p>
  
  <p>fill text in <strong>textview</strong> using <code>setText()</code> --> change <strong>visibility</strong> to <code>View.GONE</code> --> change <strong>visibility</strong> to <code>View.VISIBLE</code> --> <code>getText()</code> <strong>returns</strong> empty <strong>string</strong></p>
  
  <p>question : why?</p>