title: How can we push New Element in firestore Map type array in Android/java?
body: <p>In my case i have an array of Map type which name is players.when i click on join button from application i want new player add in this array.</p>
  
  <p><a href="https://i.stack.imgur.com/RIAyA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RIAyA.png" alt="as you see players array in collection field "></a></p>
  
  <pre><code>  Map&lt;String,Object&gt; playerMap=new HashMap&lt;&gt;();
                  playerMap.put("name","adnan");
                  playerMap.put("subtitle","bashir");
                  playerMap.put("image","url");
                  playerMap.put("documentID","id2");
  
     FirebaseFirestore db = FirebaseFirestore.getInstance();
                  db.collection("matchesPRO").document("5mr4xk7I3InAe8LR2SbJ").update("players",playerMap);
  </code></pre>