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

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.

主站蜘蛛池模板: 南昌县| 特克斯县| 班玛县| 清远市| 平山县| 建昌县| 黑龙江省| 江油市| 北京市| 栾川县| 盐津县| 永顺县| 江城| 松溪县| 平邑县| 开远市| 碌曲县| 乳源| 贺兰县| 奇台县| 读书| 改则县| 惠东县| 荔浦县| 五莲县| 连州市| 德钦县| 师宗县| 冷水江市| 赤壁市| 泰州市| 高淳县| 突泉县| 锡林郭勒盟| 灌云县| 太原市| 福贡县| 菏泽市| 新营市| 沂水县| 筠连县|