Daniel616
Daniel616
demo中 可以增加回调间隔时间限制,以下限制 25ms回调一次 `MotionEvent.ACTION_MOVE -> { if (System.currentTimeMillis() - lastUpdateTime > 25) { lastUpdateTime = System.currentTimeMillis() onScaledListener?.onScaled(event.x - touchDownX, event.y - touchDownY, event) } }`
+1
修改BaseChart里面 omMeasure如下 @Override protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { super.onMeasure(widthMeasureSpec, heightMeasureSpec); rectChart = new RectF(getPaddingLeft(),getPaddingTop(),getMeasuredWidth()-getPaddingRight(), getMeasuredHeight()-getPaddingBottom()); }
> Download this update https://github.com/zhongyang219/TrafficMonitor/files/9249859/TrafficMonitor.zip It's work for me
规则的话 `mapOf("AdGuard Base" to "https://filters.adtidy.org/extension/chromium/filters/2.txt", "EasyPrivacy Lite" to "https://filters.adtidy.org/extension/chromium/filters/118_optimized.txt", "AdGuard Tracking Protection" to "https://filters.adtidy.org/extension/chromium/filters/3.txt", "AdGuard Annoyances" to "https://filters.adtidy.org/extension/chromium/filters/14.txt", "AdGuard Chinese" to "https://filters.adtidy.org/extension/chromium/filters/224.txt", "NoCoin Filter List" to "https://filters.adtidy.org/extension/chromium/filters/242.txt", "CJX's Annoyance List"...
通过addr2line看错误新的话是显示ad_block_client.cc里面1511行空指针的问题 ![image](https://user-images.githubusercontent.com/20734687/192700030-53c357a1-279d-433e-bb0c-9be2274195e6.png) 我加了判断后就没有拦截效果了 ![image](https://user-images.githubusercontent.com/20734687/192700124-d5a0e5ed-3af7-47c1-8c9b-f50d3920170b.png)