negier
negier
如标题
我试了两个h264文件,然后代码也是拿你的跑的,h264用probe命令看过,格式是yuv420p的,没问题,也测试过能正常播放。 但是解码出的yuv文件无法用播放; 而且和用ffmpeg命令解出来的yuv文件大小都是不一样的,官方解的能播。 得出结论,代码哪里错了,如果您怀疑是我的h264文件问题,得到您允许我可以把两个h264文件通过邮箱发给您,如我前面所述,能播放,说明我的h264是没问题的。 无论如何,在此提出问题,我暂时也没有空,有空了,我也帮着修吧
我在你的`MoltiTouchGestureDetector`中的`getRotation`打了`Log`,结果看到抖得呀。` ``` public float getRotation() { Log.e("TAXXG", "mCurrentRotation:" + mCurrentRotation+",mPreviousRotation:" + mPreviousRotation); return mCurrentRotation - mPreviousRotation; } ``` 这是log: ``` 2020-01-20 16:05:05.143 17244-17244/com.dinuscxj.gesturedetector.demo E/TAXXG: mCurrentRotation:39.256565,mPreviousRotation:79.86514 2020-01-20 16:05:05.143 17244-17244/com.dinuscxj.gesturedetector.demo E/TAXXG: mCurrentRotation:39.256565,mPreviousRotation:79.86514...
我沿用了你的思路,但如果给emptyView设置了ConstraintLayout.LayoutParams之后,在使用ConstraintLayout.removeView(emptyView)时,会有一个问题,emptyView消失,但RecyclerView的内容没有立即显示,需要手动拖动下才会显示出来。但如果你不给emptyView设置Constraint.LayoutParams则没有问题。
Caused by: com.android.tools.r8.utils.b: Missing class edu.umd.cs.findbugs.annotations.SuppressFBWarnings (referenced from: android.content.Context com.liulishuo.okdownload.OkDownloadProvider.context and 6 other contexts) at com.android.tools.r8.utils.E2.a(R8_8.0.46_2ffa4e0571e5ebfa8c3310c54d5dda57b06b7af8069dc742e901fe496c3e13dd:21) at com.android.tools.r8.utils.E2.error(R8_8.0.46_2ffa4e0571e5ebfa8c3310c54d5dda57b06b7af8069dc742e901fe496c3e13dd:1) at com.android.tools.r8.shaking.T1.b(R8_8.0.46_2ffa4e0571e5ebfa8c3310c54d5dda57b06b7af8069dc742e901fe496c3e13dd:9) at com.android.tools.r8.shaking.L.a(R8_8.0.46_2ffa4e0571e5ebfa8c3310c54d5dda57b06b7af8069dc742e901fe496c3e13dd:1735) at com.android.tools.r8.shaking.L.a(R8_8.0.46_2ffa4e0571e5ebfa8c3310c54d5dda57b06b7af8069dc742e901fe496c3e13dd:1442) at com.android.tools.r8.R8.a(R8_8.0.46_2ffa4e0571e5ebfa8c3310c54d5dda57b06b7af8069dc742e901fe496c3e13dd:1279) at com.android.tools.r8.R8.a(R8_8.0.46_2ffa4e0571e5ebfa8c3310c54d5dda57b06b7af8069dc742e901fe496c3e13dd:158) at com.android.tools.r8.R8.b(R8_8.0.46_2ffa4e0571e5ebfa8c3310c54d5dda57b06b7af8069dc742e901fe496c3e13dd:1)...
- [ 对 ] Shizuku version is up-to-date - [ 对 ] Shizuku is downloaded from official channels (GitHub release or Google Play) - [ 对 ] Shizuku is not...
FastScrollRecyclerView#updateThumbPosition ``` rowCount * scrollPosState.rowHeight ``` Because some itemView height is not same. I like your smooth effect, but I haven't use your code. So this question only give you...
1. 滑动卡顿 2. RecyclerView有一些较长的内容的Item会不显示 解决方法: ``` setLayerType(LAYER_TYPE_HARDWARE, null); ``` 仓库作者自己改下吧,关于第2个问题不显示我也不知道为什么,因为按理说软件绘制应该支持所有的效果,但是确实这里有问题。