Skip to content

Instantly share code, notes, and snippets.

@victorbrndls
Created February 7, 2022 22:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save victorbrndls/d8cc68837e37e5f58bf7fbfc7923789c to your computer and use it in GitHub Desktop.
Save victorbrndls/d8cc68837e37e5f58bf7fbfc7923789c to your computer and use it in GitHub Desktop.
@NonNull
public List<DocumentSnapshot> getDocuments() {
List<DocumentSnapshot> res = new ArrayList<>(snapshot.getDocuments().size());
for (Document doc : snapshot.getDocuments()) {
res.add(convertDocument(doc));
}
return res;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment