Read The Fucking Source Code

The introduction

  • View description: that is, the page the user sees, that is, View related
  • Life flow: start, draw, distribute, and expand

Ladle package

Start the process

Android App startup process

Event Distribution Process

Android event distribution process

Drawing process

Android Drawing Process

Custom control

User-defined control measures

Custom control Layout

Custom control DRAW

Custom control requestLayout/Invalidate

Layout performance comparison

Layout performance FrameLayout

Layout performance LinearLayout

Xiaobian blog series

The Android technology stack