利用RxJava实现超级简单的定时器(RxTimer)

背景:java     在项目中常常会有须要作定时任务的地方,之前通常采用Timer或者ScheduledExecutorServicereact 解决方案:android   1)项目中引入依赖:git implementation 'io.reactivex.rxjava2:rxandroid:2.1.0' implementation 'io.reactivex.rxjava2:rx
相关文章
相关标签/搜索