Farble Dast
Farble Dast
See [dagger 2](https://github.com/google/dagger) Documents [here](http://google.github.io/dagger/)
部分测试需要依赖资源文件,如布局文件,动画文件,而你这个是一个工具类类库,因此测试不太好写~
- [ListenerQueue](https://github.com/DLTech21/Tut-android/blob/master/app/src/main/java/com/dtalk/dd/imservice/callback/ListenerQueue.java)中,`pop`,`push`方法 pop用了synchronized锁,push没有,实际上callBackQueue使用的`ConcurrentHashMap ` 是线程安全的 - ```java //以前是TimerTask处理方式 private void startTimer() { if(!stopFlag && hasTask == false) { hasTask = true; timerHandler.postDelayed(new Runnable() { @Override public void run() { timerImpl();...
小问题
- 部分机型的关键字是 `截图` - 屏幕高度需要实时获取(考虑部分刘海屏,可以随时展示/关闭刘海区域) 去年公司做过一个一样的需求,看了下,抄的基本是一个代码
[QPopuWindow.java](https://github.com/AndyAls/QPopuWindow/blob/master/Qpopuwindow/src/main/java/cn/andy/qpopuwindow/QPopuWindow.java)中的show存在部分场景下无法弹窗。原因在于 ```java if (mContext instanceof Activity && ((Activity) mContext).isFinishing()) { return; } ``` 该mContext为第一次bindView的Context,不一定是当前上下文,该逻辑可以在业务层做判断, 另外 ```java mContext instanceof Activity ``` 其实是没有意义的
- 疑似ignore的原因导致