Same BroadCastReceiver for two or more Activities

后端 未结 0 1400
心在旅途
心在旅途 2020-12-17 23:06

I want to receive the same string in my MainActivity and the rest of the Activities. I\'m using a LocalBroadCast Manager in my MainActivity in the OnCreate() like this:

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