I am developing an Android app and want to check array length in Cloud Firestore. I have tried many times but could not find a solution. Can you help me?
edited below:
I want to get the size of the array that which user favorited it. Below is my array in Firestore. Also, I can access document II, because I save it when It is created first. firestore screenshot
The code which I get fail is below: code screenshot
I really tried many times but cannot get size of array.