测试 markdown

测试 markdown_第1张图片
timg.jpeg
   
   
   
测试 markdown_第2张图片
timg.jpeg
    public static void classicalSample() {
        Observable.create(new ObservableOnSubscribe() {

            @Override
            public void subscribe(ObservableEmitter observableEmitter) throws Exception {
                observableEmitter.onNext("1");
                observableEmitter.onNext("2");
                observableEmitter.onNext("3");
                observableEmitter.onNext("4");

            }
        }).subscribe(new Observer() {

            private Disposable mDisposable;

            @Override
            public void onSubscribe(Disposable disposable) {
                Log.d(TAG, "onSubscribe");
                mDisposable = disposable;
            }

            @Override
            public void onNext(String s) {
                Log.d(TAG, "onNext=" + s);
                if ("2".equals(s)) {
                    mDisposable.dispose();
                }
            }

            @Override
            public void onError(Throwable throwable) {
                Log.d(TAG, "onError");

            }

            @Override
            public void onComplete() {
                Log.d(TAG, "onComplete");

            }
        });
    }
for (const i of obj) {
  console.log(i)
}
for (const i of obj) {
  console.log(i)
}
foreach ($i as $obj) {
  var_dump($obj);
}

你可能感兴趣的:(测试 markdown)