So, I would like to load on my activity the Documents' names inside one of my collections (not the attributes).
This is to then be able to click them and load the attributes inside them.
My initial question is: how can I get the ID?
I tried this but didn't work
db.collection("Kit List").document().get().addOnSuccessListener { snapshot ->
snapshot.id
firstKitList.add(snapshot.toString()).toString()
mainListViewAdapter.notifyDataSetChanged()
}
Thanks