title: List from map wont appear in my ListView
body: <p>I made a list of values from a map retrieved from firestore database. The problem is that it won't appear on my <code>listView</code>. I initiated another list from another map and it appeared in my <code>listView</code>. Why is the list from the map retrieved from firestore document won't work while other list works fine?</p>
  
  <pre><code>public class RecipeActivity extends Activity {
  
  private ListView listView;
  private ArrayAdapter&lt;Object&gt; arrayAdapter;
  private FirebaseFirestore newRecipeDb;
  private Map&lt;String, Object&gt; meMap = new HashMap&lt;String, Object&gt;();
  private List&lt;Object&gt; list = new ArrayList&lt;&gt;();
  private List&lt;String&gt; listStrings = new ArrayList&lt;&gt; ();
  private TextView textView;
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_recipe);
  
      textView = findViewById(R.id. breadRecipe);
      listView = findViewById(R.id.listIngredient);
      arrayAdapter = new ArrayAdapter&lt;Object&gt;(this,
              android.R.layout.simple_list_item_activated_1, list);
  
      newRecipeDb = FirebaseFirestore.getInstance();
      newRecipeDb.collection("users")
              .document("bakeryMgt")
              .collection("New Recipe")
              .document("cherri pie")
              .get()
              .addOnCompleteListener(new OnCompleteListener&lt;DocumentSnapshot&gt;() {
                  @Override
                  public void onComplete(@NonNull Task&lt;DocumentSnapshot&gt; task) {
                      if (task.isSuccessful()) {
                          DocumentSnapshot document = task.getResult();
                          if (document.exists()) {
                              System.out.println("DocumentSnapshot data " + document.getData());
                              meMap = document.getData();
                              list = new ArrayList&lt;Object&gt;(meMap.values());
                              listView.setAdapter(arrayAdapter);
  
                          } else {
                              System.out.println("No such document");
                          }
                      } else {
                          System.out.println("get failed with " + task.getException());
                      }
                  }
              });
  
      }
  }
  </code></pre>