Errata
The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted By | Date submitted | Date corrected |
---|---|---|---|---|---|
Page Page 91 First three code examples |
The first code example is in Kotlin since there are no semicolons, but the second and third code example is in Java since it has the `new` keyword and semicolons. I believe this two code examples should also be in Kotlin. Note from the Author or Editor: |
Ryan Miles | Aug 30, 2022 | ||
Page p. 48 1st and 2nd paragraphs |
"PointAndAttr" should be "PointWithAttr" to match the code Note from the Author or Editor: |
David Beaulieu | Jan 23, 2023 | ||
Page p. 163 last paragraph |
"A HandlerThread completes when you invoke its quit or quickSafely method." Note from the Author or Editor: |
David Beaulieu | Jan 23, 2023 | ||
Page p. 257 3rd paragraph |
The paragraph that starts: "The output is: Received 0" should instead read "The output is: Received 1" Note from the Author or Editor: |
David Beaulieu | Jan 23, 2023 | ||
Page pp. 312, 313 Figure 12-1 vs. Figure 12-2 |
3rd paragraph on p. 312 states "Figure 12-2 shows a bird's-eye view of the very same layout hierarchy provided in the Component Tree." Note from the Author or Editor: |
David Beaulieu | Jan 23, 2023 | ||
Page 37 The boolean function |
val isAnyOdd = nums.any { it % 1 > 0 } // true Note from the Author or Editor: |
Ossama Ahmad | Dec 18, 2022 | ||
Page 105 3rd Code Example |
The code block is written as var list: List<Int> = CopyOnWriteArrayList(listOf(1)). It should be written as var list: MutableList<Int> = CopyOnWriteArrayList(listOf(1)). Note from the Author or Editor: |
Ryan Miles | Aug 31, 2022 | ||
Page 106 3rd paragraph |
On page 106, before the second code example, the line reads "It ay help to see the Java equivalent:" Note from the Author or Editor: |
Anonymous | Mar 26, 2022 | May 27, 2022 | |
Page 134 3rd paragraph |
On page 134 in the 3rd paragraph, the book reads: "The preceding program delays the slow async job delays it by 1,000 ms..." Note from the Author or Editor: |
Jean Tadebois | Mar 27, 2022 | May 27, 2022 | |
Page 138 3rd paragraph |
On page 138, the 3rd paragraph reads: "Both CoroutineScopes and CoroutineContexts play the role of the parent in previous illustrations, while Coroutines, on play the role of the children." Note from the Author or Editor: |
Anonymous | Mar 27, 2022 |