Where should I initialize a firestore instance?

后端 未结 0 1570
不思量自难忘°
不思量自难忘° 2021-02-06 09:16

I have never used the singleton pattern before. I had declared the initialization of firestore at the beginning of MainActivity for access to the database in all classes without

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