Download the example code files
You can download the example code files for this book from GitHub at https://github.com/PacktPublishing/Kickstart-Modern-Android-Development-with-Jetpack-and-Kotlin. If there's an update to the code, it will be updated in the GitHub repository.
We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!
Download the color images
We also provide a PDF file that has color images of the screenshots and diagrams used in this book. You can download it here: https://static.packt-cdn.com/downloads/9781801811071_ColorImages.pdf.
Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Text
is the Compose version of our old and beloved TextView
."
A block of code is set as follows:
@Composable fun FriendlyMessage(name: String) { Text(text = "Greetings $name!") }
When we wish to draw your attention to a particular part of a code block meaning that a portion of code has been added or modified, the relevant lines or items are set in bold:
@Composable fun ColoredBox() { Box(modifier = Modifier.size(120.dp)) }
Any command-line input or output is written as follows:
npm install component_name
Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here is an example: "In the Phone and tablet template section, select Empty Compose Activity and then choose Next."
Tips or Important Notes
Appear like this.