lodgkk
lodgkk
不知道为什么我照着楼主的onDraw里面做,图片都无法显示,我换成这样,就可以了 override fun onDraw(canvas: Canvas?) { super.onDraw(canvas) if (canvas == null || okBitmap == null) return canvas.translate((mWidth / 2).toFloat(), (mHeight / 2).toFloat()) // 得出图像边长 val sideLength = okBitmap!!.height canvas.drawCircle(0f, 0f,...

demo里面的AdapterRecyclerView,我上面改了一下,bug一样
用的exo版本是2.9.4
有的,我就是根据demo改的
你用了Glide,因为是网络加载,开始是没有缓存,导致位置偏差,下次进去缓存了,所以正常了,我给你一个解决的方法把,希望以后有人看到可以这么做: Glide.with(BaseApplication.mContext) .load(url) .placeholder(R.color.gray) .error(R.color.gray) .into(new SimpleTarget() { @Override public void onResourceReady(GlideDrawable resource, GlideAnimation
我找了一下原因,是因为加了这个headersDecor,所以才导致设置空view的时候无法刷新
I think I know why.because no consideration was given to the bottom navigation bar,but shineView showAnimation method isTranslucentNavigation(shineButton.activity) if (isTranslucentNavigation(shineButton.activity)) { if (isFullScreen(shineButton.activity)) { centerAnimY = visibleFrame.height() - shineButton.getBottomHeight(false) +...
嗯,把音乐播放相关的弄成一个模块
https://github.com/tanersener/mobile-ffmpeg可以更换到这个库