美文网首页
测试 markdown

测试 markdown

作者: 冰淤 | 来源:发表于2017-08-17 10:11 被阅读36次
    timg.jpeg
       <!-- 模态框(Modal) -->
       <div class="modal">
          <div class="modal-dialog">
             <div class="modal-content">
                <div class="modal-header">
                   <button type="button" class="close">×</button>
                   <h4 class="modal-title">模态框(Modal)标题</h4>
                </div>
                <div class="modal-body">这里显示文本</div>
                <div class="modal-footer clearfix">
                   <button type="button" class="btn btn-default">关闭</button>
                   <button type="button" class="btn btn-primary">提交更改</button>
                </div>
             </div>
          </div>
       </div>
       <!-- /modal -->
    
    timg.jpeg
        public static void classicalSample() {
            Observable.create(new ObservableOnSubscribe<String>() {
    
                @Override
                public void subscribe(ObservableEmitter<String> observableEmitter) throws Exception {
                    observableEmitter.onNext("1");
                    observableEmitter.onNext("2");
                    observableEmitter.onNext("3");
                    observableEmitter.onNext("4");
    
                }
            }).subscribe(new Observer<String>() {
    
                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

          本文链接:https://www.haomeiwen.com/subject/ndvelxtx.html