private fun readSingleData(){
val db = FirebaseFirestore.getInstance()
db.collection("Data").document("HeSKUUNFDEzi007cuFGG").get()
.addOnSuccessListener { result ->
tv_name_right.text = result.data?.get("name").toString()
tv_school_right.text = result.data?.get("school").toString()
tv_email_right.text = result.data?.get("email").toString()
Toast.makeText(activity, "讀取成功", Toast.LENGTH_SHORT).show()
}
.addOnFailureListener{
Log.v("test__",it.toString())
Toast.makeText(activity,"讀取失敗", Toast.LENGTH_SHORT).show()
}
}