How to check if app is on the foreground from Workmanager in BroadcastReceiver?

后端 未结 0 577
余生分开走
余生分开走 2021-02-14 03:16

Is there a way to check if app is in the background,closed or running from a Workmanager within BroadcastReceiver? I want to show an internal notification when the app is closed

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