How does jetpack compose work under the hood
问题 The new Jetpack compose component added to Arch component is like Flutter Ui making. How does it make the Ui though? Does it use a native code engine like Skia, or it still follows the ViewGroup way like before? 回答1: Compose creates one view currently named AndroidComposeView , which inherits ViewGroup, and it draws the widget tree on its canvas. It also processes motion/keyboard events for this view. There may be more helper views added to this view due to implementation details, but