qishi604
qishi604
我也碰到这个问题了。解决思路有几个: 1. 引导的时候不要刷新列表,引导完之后再刷新,可以用标志判断引导是否显示,数据是否需要刷新 2. 不用 RecyclerView 做引导,自己用第一个数据构造一个 itemView(通过 ViewHolder 设置 Data),把这个 itemView 放到一个透明的层盖在 RecyclerView上,这样随便 RecyclerView 怎么动都会有影响。这个方法稍微麻烦。 3. 调用这个 `GuidePage#addHighLight(RectF rectF, Shape shape, int round)` 来添加高亮,因为那个异常是 `ViewUtils#getLocationInView` 跑出来的,不用它也就不会抛异常
Also can change the source code: 1. Modify the `OnGestureListener.onDrag` function, Add `isMultiTouch` ```java interface OnGestureListener { void onDrag(boolean isMultiTouch, float dx, float dy); ``` 2. Modify the `PhotoViewAttacher` at...