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

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.

主站蜘蛛池模板: 宝鸡市| 乌拉特前旗| 丁青县| 大兴区| 石柱| 千阳县| 永泰县| 嘉兴市| 青海省| 庆云县| 互助| 柳江县| 化州市| 襄垣县| 扶绥县| 浦江县| 宕昌县| 兰溪市| 称多县| 竹北市| 全南县| 化州市| 长宁县| 合阳县| 建昌县| 建瓯市| 唐河县| 黄浦区| 铅山县| 靖江市| 治县。| 天全县| 武冈市| 三门县| 抚顺县| 盐山县| 沙雅县| 平乐县| 凤山市| 资中县| 黄浦区|