Android Advanced Light cover

Android Advanced Light

Rating 3.2
Word count
192K words
Chapters
11
Series
Android Advanced Trilogy
ISBN
9787121315305

Tags

Summary

Android Advanced Light is an advanced technical book by Android engineer Liu Wangshu and the first volume of the Android Advanced Trilogy. The book has 11 chapters arranged from basic to advanced, aiming to weave scattered advanced topics into a coherent system. Chapter 1 reviews Android 5.0 to 7.0 features, covering RecyclerView, CardView, various notifications, runtime permissions, and multi-window mode. Chapter 2 covers Material Design principles and common Design Support Library widgets, with examples of combined use. Chapter 3 dives into the View system: coordinate systems, View sliding, property animation, Scroller, event dispatch, the measure/layout/draw workflow, and finally custom Views and ViewGroups. Chapter 4 covers multithreading: thread states, synchronization, blocking queues, thread pools, and an analysis of AsyncTask source code. Chapter 5 starts from network layering, TCP handshakes, and HTTP messages, then moves to HttpURLConnection and the use and source code of Volley, OkHttp, and Retrofit. Chapter 6 introduces common design patterns by creational, structural, and behavioral categories. Chapter 7 analyzes the event buses EventBus and Otto. Chapter 8 covers RxJava basics, operators, thread control, use cases, and source code. Chapter 9 starts with annotations and covers ButterKnife and Dagger2 dependency injection. Chapter 10 discusses application architecture design, including MVP, MVP with RxJava and Dagger2, and Data Binding and MVVM. Chapter 11 guides readers into reading Android system source code, using the MediaPlayer framework as an example.

Editor's review

很多Android开发者学完基础后都会遇到一个困惑:知识点不缺,缺的是把它们串起来的线。这本书的价值正在于这条线——11章内容从版本新特性、Material Design,到View体系、多线程、网络框架、设计模式、事件总线、RxJava、依赖注入,再到MVP/MVVM架构与系统源码阅读,顺序经过刻意设计,后一章往往要用到前一章的知识点。 书里对OkHttp、Retrofit、EventBus、RxJava这些常用框架不只讲怎么调用,还带读者读源码,这对理解设计意图、排查线上问题很有帮助。每章配有源码示例,可在作者的GitHub仓库对照运行。作者刘望舒是CSDN博客专家,多年在一线做Android开发,讲法偏工程实践而非教科书式罗列。 需要提醒的是,本书首版基于Android 7.0和Android Studio,部分API与工具链已经过时;如果更在意时效性,可以优先考虑2021年的第2版。但作为打底的进阶读物,它梳理知识框架的作用依然扎实。

Who it's for

A good fit for

  • 已有Java/Kotlin与Android基础、准备向中高级迈进的工程师
  • 想系统理解View事件分发、自定义控件原理的开发者
  • 需要读懂OkHttp、Retrofit、EventBus、RxJava等框架源码的人
  • 希望补齐架构设计与MVP/MVVM实践能力的技术人员

Not a good fit for

  • 完全没有Android开发经验的入门读者,会感到吃力
  • 只想快速学Kotlin协程、Jetpack Compose等新技术的人
  • 需要最新Android 14/15适配实践的读者,应选更新的资料

Reading tips

  1. 先把第3章View体系吃透,这是后面自定义控件与事件处理的基础。
  2. 读框架源码章节时,同步打开GitHub源码仓库,对照代码跑一遍demo。
  3. 第8至10章建议连读,RxJava、依赖注入与MVP合在一起才看得清架构脉络。
  4. 遇到已过时API不必纠结结论,重点理解设计思路,再迁移到当前版本。

About the publisher

Publishing House of Electronics Industry China · Founded in 1982

The Publishing House of Electronics Industry is a comprehensive publisher distinguished by its focus on electronic information and related fields. Judging from the more than 3,000 titles in its catalogue, its publishing covers programming and design, artificial intelligence, computer science, finance and economics, photography, and social sciences, attending both to cutting-edge technology and to general readers. Representative titles include Factor Investing: Methods and Practice, x86 Assembly Language: From Real Mode to Protected Mode, The RISC-V Reader, Artificial Intelligence: Speech Recognition, Understanding and Practice, Phased Array Radar Technology, Radar Target Characteristics, and 100 Go Mistakes and How to Avoid Them, most of which centre on technical methods and engineering practice. Its authors include Shi Chuan, Li Zhong, Wang Xiaobo, David Patterson, Andrew Waterman, and Yu Zihao, among others from China and abroad. Owing to limited public information, no further publishing features are elaborated here.

Contents

  1. Chapter 1 New Features in Android
  2. Chapter 2 Material Design
  3. Chapter 3 The View System and Custom Views
  4. Chapter 4 Multithreaded Programming
  5. Chapter 5 Network Programming and Network Frameworks
  6. Chapter 6 Design Patterns
  7. Chapter 7 Event Bus
  8. Chapter 8 Functional Reactive Programming
  9. Chapter 9 Annotations and Dependency Injection Frameworks
  10. Chapter 10 Application Architecture Design
  11. Chapter 11 System Architecture and the MediaPlayer Framework

FAQ

这本书需要什么基础才能读?
需要一定的Java基础和Android开发经验,了解Activity、View、异步任务等基本概念。作者定位它是"Android第二本书",零基础读者建议先看入门教程。
第一版和第二版有什么区别?
第2版2021年出版,ISBN 9787121405495,覆盖到Android 10.0新特性,页数和内容有所扩充。首版基于Android 7.0,追求时效性建议选第2版。
书里的代码能直接运行吗?
作者提供了GitHub开源仓库(android-advanced-light),按章分目录存放示例代码。不过部分依赖库版本较旧,运行前可能需要调整Gradle配置。
这本书是三部曲的第一本吗?
是。"Android进阶三部曲"依次为《Android进阶之光》《Android进阶解密》《Android进阶指北》,本书侧重应用层进阶与框架原理。

Comments

Find this book

This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.

About the author

刘望舒 Author

Liu Wangshu is an author active in Chinese-language technical writing, though publicly available personal information about him is limited, with no systematic disclosure of his biography or educational background. Judging from the two works held in the collection, Android Advanced Light and Android Advanced Decryption, his writing focuses on Android application development and mobile programming technologies, placing him among authors of books on software learning and programming design. Both titles are positioned as "advanced" guides aimed at readers who already have some foundation and wish to gain a deeper understanding of Android development mechanisms and engineering practice; the content emphasizes analysis of underlying principles combined with practical experience rather than introductory material. In the technical book market, such books are often used by developers to improve their skills and organize their knowledge. Liu's writing style is pragmatic and clearly structured, with attention to breaking complex concepts into actionable steps, which has earned him a degree of attention among relevant readers. Overall, he is a technical author known for his Android-focused monographs, and further information remains to be supplemented by public sources.

More by the same author

Top rated in the same category