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

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.

主站蜘蛛池模板: 武威市| 玉山县| 海林市| 恩平市| 哈巴河县| 新巴尔虎右旗| 安平县| 二连浩特市| 许昌市| 武城县| 宁化县| 建平县| 灵武市| 介休市| 南溪县| 自贡市| 论坛| 赣州市| 永泰县| 铜陵市| 万州区| 赞皇县| 普宁市| 宝清县| 郯城县| 大丰市| 岢岚县| 龙游县| 额敏县| 册亨县| 汤原县| 广丰县| 赤城县| 大冶市| 余干县| 合水县| 张北县| 清远市| 临猗县| 民权县| 文昌市|