官术网_书友最值得收藏!

Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "Let's first take a look at the init block of the ReactiveCalculator class"

A block of code is set as follows:

   async(CommonPool) { 
        Observable.range(1, 10) 
          .subscribeOn(Schedulers.trampoline())//(1) 
          .subscribe { 
              runBlocking { delay(200) } 
              println("Observable1 Item Received $it") 
          } 
 

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

abstract class BaseActivity : AppCompatActivity() { 
       final override fun onCreate(savedInstanceState: Bundle?) { 
         super.onCreate(savedInstanceState) 
         onCreateBaseActivity(savedInstanceState) 
        } 
        abstract fun onCreateBaseActivity(savedInstanceState: Bundle?) 
       } 

Any command-line input or output is written as follows. The input command might be broken into several lines to aid readability, but needs to be entered as one continuous line in the prompt:

$ git clone https://github.com/ReactiveX/RxKotlin.git
$ cd RxKotlin/
$ ./gradlew build

New terms and important words are shown in bold.  Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Go to Android Studio | Settings | Plugins."

Warnings or important notes appear like this.

Tips and tricks appear like this.

主站蜘蛛池模板: 东乌珠穆沁旗| 界首市| 新余市| 清远市| 庄河市| 中江县| 安溪县| 林西县| 夏河县| 扎赉特旗| 彝良县| 五寨县| 彝良县| 张家川| 杭州市| 五华县| 鸡泽县| 洮南市| 五大连池市| 绥宁县| 土默特左旗| 南陵县| 确山县| 桂阳县| 黄石市| 凤凰县| 米易县| 柘城县| 永春县| 乌拉特后旗| 海盐县| 湾仔区| 武山县| 河东区| 东山县| 承德市| 天峨县| 大宁县| 大厂| 高安市| 白银市|