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."