Observable.interval(1, TimeUnit.SECONDS) .subscribe(new Action1<Long>() { @Override public void call(Long aLong) { //每隔1秒发送数据项,从0开始计数 //0,1,2,3...
確定! 回上一頁