retrieve all data from firestore database in android studio using kotlin - Joklinz-Tech

Latest

Home Of Tech news,jobs and android tutorials

Thursday, 8 February 2018

retrieve all data from firestore database in android studio using kotlin




db.collection("andusers").get()
        .addOnCompleteListener(this){ task->      
      if (task.isSuccessful){
                val doc=task.result              
               toast(doc)

            }
            else {
                toast("Error loading data's")
            }
        }


1 comment:

  1. I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post. retrieve data from USB flash drive

    ReplyDelete