title: how to get string array from firebase realtime database
body: <p><img src="https://i.stack.imgur.com/Xy6WG.png" alt="Firebase Realtime database structure"></p>
  
  <pre><code>databaseReference = FirebaseDatabase.getInstance().getReference("/sample");
  
  databaseReference.addValueEventListener(new ValueEventListener() {
      @Override
      public void onDataChange(@NonNull DataSnapshot dataSnapshot) {
          Log.d(TAG, "onDataChange: dataSnapshot "+dataSnapshot.getValue());
      }
  
      @Override
      public void onCancelled(@NonNull DatabaseError databaseError) {
  
      }
  });
  </code></pre>
  
  <p>I'm new to android app development and firebase as well. i m fetching data from <strong>sample</strong> node and getting DataSnapshot value like below.  </p>
  
  <pre class="lang-text prettyprint-override"><code>{size=[Small, Large, Ex-Large], type=[Type 1, Type 2], color=[Red, Green, Blue], category=[T-Shirt, Jeans, Sweater]}
  </code></pre>
  
  <p>need some expect help, any suggestion will greatly appreciated.</p>
  
  <p>Thanks</p>