Timer.scheduleAtFixedRate is unreliable in my foreground service ( Android )

后端 未结 0 1913
深忆病人
深忆病人 2021-01-02 17:32

I would like to run a function in my foreground service every five seconds. I created a Timer, and I called .scheduleAtFixedRate in the onCre

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