Wait for addOnSuccessListener without executing code further

前端 未结 0 569
南笙
南笙 2021-01-16 12:52

i have implemented function fetchUserData which is used to verify user on Firebase.I created CountDownlatch to wait for addOnSuccessListener to complete but done.countDown()

相关标签:
回答
  • 消灭零回复
提交回复
热议问题