Return a boolean function only when api call is complete in android

后端 未结 0 1775
生来不讨喜
生来不讨喜 2020-12-03 05:14

I have a function which makes a call to Firebase Firestore db and returns the value of the same. Here, the function returns the boolean value before the api fetching is comp

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