34

Android 面向切面编程 AOP 解决连续点击打开重复页面问题

 5 years ago
source link: https://juejin.im/post/5b4823e56fb9a04fd93e20ba
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.
先介绍概念 比如我希望在所有页面启动的时候加一个埋点~ 希望在所有按钮点击的时候加个快速重复点击的判断~等等 这样在项目中同一种类型的所有代码处,统一加入逻辑处理的方法,叫做 面向切面编程 AOP 而这些我们需要插入代码的具体位置,则叫做切点 Pointcu

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK