yuruiyin

Results 17 comments of yuruiyin

你代码方便贴出来看看吗? @KaelInvoker

> 可能是你的design版本不对,你试试作者用的27.1.1没问题,我试了28的有问题,28的内部实现应该改了 的确,28版本有问题。这几天抽空研究一下

> 可能是你的design版本不对,你试试作者用的27.1.1没问题,我试了28的有问题,28的内部实现应该改了 您好,新版本(v1.0.2)已经兼容design 28版本。

> Failed to resolve: com.github.hackware1993:MagicIndicator:1.5.0这个三方的indicator下载不到?@@yuruiyin 这个是demo中用到,如果下载不下来,可以修改demo,替换成原生的TabLayout

> > > 可能是你的design版本不对,你试试作者用的27.1.1没问题,我试了28的有问题,28的内部实现应该改了 > > > > > > 您好,新版本(v1.0.2)已经兼容design 28版本。 > > @楼主,sdk28试了你的新版v1.0.2还是不行。不知道问题出在哪里了。 > Runnable flingRunnable = (Runnable) flingRunnableField.get(this); > OverScroller overScroller = (OverScroller) scrollerField.get(this); > 获取到的对象为什么一直都是null。field.get(this)得到的每次运行debug都是null。所以滑动问题没能解决。你试了吗 是不是被混淆了。需要保证support或者androidx相关类...

@moonstr 我把你代码拷贝下来,运行一下滑动几下没毛病。 ``` // 你的布局 ```

@moonstr 你那边试试跑我的demo,会出现多次滑动后无法滑动的问题吗?

> 在华为v10上添加视频或者图片,无法添加 是不是没申请读写权限?

> 请问怎么降图片放大居中显示呢,充满屏幕宽度 可以参考我的demo中MainActivity的代码,外头可以指定图片宽度的。 ```kotlin val blockImageSpanVm = BlockImageSpanVm(blockImageSpanObtainObject, screenWidth, imageMaxHeight) richEditText.insertBlockImage(realImagePath, blockImageSpanVm) { blockImageSpan -> ...... } ```