title: Create a custom document id in firestore in android, instead of generating random one
body: <p>How can I edit this code so I can create my own custom document id in Firestore?</p>
  
  <pre><code>users.add(new Accounts(fname, lname, uname, email, pass)).addOnSuccessListener(new OnSuccessListener&lt;DocumentReference&gt;() {
          @Override
          public void onSuccess(DocumentReference documentReference) {
              Toast.makeText(CreateAccount.this, "Data saved to FireStore", Toast.LENGTH_SHORT).show();
          }
      }).addOnFailureListener(new OnFailureListener() {
          @Override
          public void onFailure(@NonNull Exception e) {
               Log.d(TAG, e.toString());
          }
      });
  </code></pre>