title: How to retrieve data from Firebase and assign to a string in strings.xml in Android Studio
body: <p>I have a data in Firebase like:</p>
  
  <pre><code>-Moon1
     sm_1 : "Titan" 
  -Moon2
     sm_2 : "Europa"
  -Moon3
     sm_3 : "Triton"
  -Moon4
     sm_4 : "Io"
  </code></pre>
  
  <p>My <code>strings.xml</code> file is like below</p>
  
  <pre><code>&lt;string name="sm_1"&gt;/*Data from firebase*/&lt;/string&gt;
  &lt;string name="sm_2"&gt;/*Data from firebase*/&lt;/string&gt;
  &lt;string name="sm_3"&gt;/*Data from firebase*/&lt;/string&gt;
  &lt;string name="sm_4"&gt;/*Data from firebase*/&lt;/string&gt;
  </code></pre>
  
  <p>I want the string <code>sm_1</code> to have the data <code>Titan</code>, <code>sm_2</code> = <code>Europa</code> and likewise. I am able to retrieve the data from Firebase and assign to a <code>Listview</code>. </p>
  
  <p>But how to assign to a string in <code>strings.xml</code>?</p>