Differentiate Application object from Activity and BroadcastReceiver on Android

前端 未结 1 2056
一整个雨季
一整个雨季 2021-01-15 10:25

I have an application that relies on push notifications to update users of events happening online. To do so, I have my normal Activity which displays the game to the user,

相关标签:
1条回答
  • 2021-01-15 10:43

    I solved this issue by moving the expensive preloading to a static initializer on the Activity.

    0 讨论(0)
提交回复
热议问题