So, I have created data with a list of documents on Firestore, and I want to retrieve a single document randomly, whenever the Android activity is invoked.
Like for example, I have the following set of documents in the collection "people"
Alex
Abhishek
Nandini
Nancy
and in my Android activity, I have a TextView which will show each of the collection name randomly, whenever I invoke that activity, like when I open the activity, it will show "Nancy" on the textview and again when I reopen, it would show "Abhishek!"
Hope you understood my question, and it will be helpful and anyone can help me in that
Using JAVA code for coding my Android application!