51

插件化理解与实现 —— 加载 Activity「类加载篇」 | bug 鸣泣之时

 6 years ago
source link: https://fashare2015.github.io/2018/01/24/dynamic-load-learning-load-activity/?
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
1 前言插件化算是比较复杂的一个话题。刚一接触的时候,我是一脸懵逼的,网上看了很多博客,一直是似懂非懂,不得其要领。期间也尝试看了Small,也是知其然不知其所以然。 就此搁置一段时间,直到真正拿出勇气,尝试自己实现插件化,成功加载了四大组件之一Activity。这才明白它的背后究竟做了什么,以及为什么这么做。 希望借着这篇文章,谈谈自己的理解。也希望通过我的小 Demo,能帮大家更轻松的理解诸如

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK