如何使用重试类型RETRY_POLICY_EXPONENTIAL指定作业中的重试次数,下面是我的代码
val job: Job =dispatcher.newJobBuilder()
.setTag("mytesttag")
.setService(MyJobService::class.java)
.setRetryStrategy(RetryStrategy.DEFAULT_EXPONENTIAL)
.build()