lin

Results 5 issues of lin

页面显示了9张图,是网络加载的,一直闪,一直打印Log。 requestLayout() improperly called by com.goyourfly.multi_picture.CustomImageView{114a80e V.ED..C.. ......ID 0,0-200,200} during layout: running second layout pass

1.1.6发现的,更新到1.1.9也一样

版本:1.2.1 机型:模拟器,真机多个设备都会闪退 自己的页面正常,使用谷歌Blockly控件显示出来就闪退,Blockly的官方文档https://github.com/google/blockly-android Blockly创建了很多自定义view,展示的时候会闪退 我是通过下载blockly后导入到我model中,项目一直正常的,引入implementation 'me.jessyan:autosize:1.2.1'运行就有问题,不引入就正常 华为平板启动带Blockly的activity,只要点击blockly的toolbox,展示RecyclerView的时候就闪退了 ![image](https://user-images.githubusercontent.com/20967855/117432542-125f8000-af5d-11eb-9b47-43f54909c993.png) ![image](https://user-images.githubusercontent.com/20967855/117432586-1e4b4200-af5d-11eb-9be6-3e7f9599d93d.png) ![image](https://user-images.githubusercontent.com/20967855/117432605-24412300-af5d-11eb-8d9a-45effd1fd375.png) ![Q{J5PJ_FXG4QF6U8$%J@IHH](https://user-images.githubusercontent.com/20967855/117433395-03c59880-af5e-11eb-83df-a5d06dc38f6d.png) ```

原来是获取到图片宽高不对,导致缩放比例也不对,只要把getDrawable改成getBitmap就行了,至于为啥不能获取到正确宽高就不知道了,有了解的可以解解惑 private float calcScale(int viewWidth, int viewHeight, float angle) { mImgWidth = getBitmap().getWidth(); mImgHeight = getBitmap().getHeight(); if (mImgWidth

1.xx到1.2.2都有这个问题,切换分支,切换渠道再编译就能复现,解决办法就是clear,望大佬能修复一下 > Task :app:compileParentDebugJavaWithJavac 注: 某些输入文件使用或覆盖了已过时的 API。 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。 注: /Users/~/~/~/app/src/main/java/com/ancda/app/app/common/GlideEngine.java使用了未经检查或不安全的操作。 注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。 > Task :app:transformClassesWithAPMSPluginForParentDebug > Task :app:transformClassesWithTheRouterForParentDebug FAILED TheRouter编译插件:\e[40;32mcn.therouter:plugin:1.2.2\e[0m 当前编译 JDK Version...