我从服务器下载了一个json对象,该对象以以下格式返回结果:
{"Bookname":["Alive-O","All Write Now ","Bun Go Barr 1","Planet Maths","Small World"],"SubjectName":["Religion","English","Irish","Maths",&qu
如何将多个Firestore查询结果加载到同一数组中?我使用的是for循环,但是因为Firestore查询是异步的,所以数组被设置为0。下面是我的代码: for (int i = 0; i < restaurantArrayList.size(); i++)planQuery = firebaseFirestore.collectio