![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android
G_taos
这个作者很懒,什么都没留下…
展开
-
java.lang.IllegalStateException: Cannot call this method while RecyclerView is computing a layout
java.lang.IllegalStateException: Cannot call this method while RecyclerView is computing a layout or scrolling原创 2022-10-10 18:27:41 · 754 阅读 · 1 评论 -
android 解决滑动冲突-内部拦截法
内部拦截法:内部拦截法是指父容器不拦截任何触摸事件,所有的触摸事件都传递给子元素,如果子元素需要此触摸事件就直接消耗掉,否则就交由父容器进行处理,这种方法和Android中的事件传递、处理机制不一致,需要配合requestDisallowInterceptTouchEvent方法才能正常工作,使用起来比外部拦截法稍显复杂。这种方法需要重写子元素的dispatchTouchEvent方法和父容器的onInterceptTouchEvent方法。内部拦截主要依赖于requestDisallowIntercept原创 2022-07-08 17:08:51 · 845 阅读 · 0 评论 -
图片拍照上传
图片拍照上传工具类原创 2022-06-17 15:26:10 · 91 阅读 · 0 评论