zrq1060
zrq1060
mDefaultTextSize = (int) attrsArray.getDimension(R.styleable.FancyButtonsAttrs_fb_textSize, mDefaultTextSize); mDefaultTextSize = (int) attrsArray.getDimension(R.styleable.FancyButtonsAttrs_android_textSize, mDefaultTextSize); mTextAllCaps = attrsArray.getBoolean(R.styleable.FancyButtonsAttrs_fb_textAllCaps, false); mTextAllCaps = attrsArray.getBoolean(R.styleable.FancyButtonsAttrs_android_textAllCaps, false);
部分手机滑动问题
我用华为的手机,弹性效果有个bug,向下滑动会先停顿下,然后再反弹上去,那个我又用小米的手机测试了下,没有此问题,希望你能兼容下
### Is there an existing issue for this? - [X] I have searched the existing issues ### Is there a StackOverflow question about this issue? - [X] I have searched...
### Is there an existing issue for this? - [X] I have searched the existing issues ### Is there a StackOverflow question about this issue? - [X] I have searched...
**报错原因:** ClassicsHeader类内236行调用了getSharedPreferences,应该改为在子线程调用。   **报错信息:** java.lang.RuntimeException: StrictMode ThreadPolicy violation at android.os.StrictMode$AndroidBlockGuardPolicy.onThreadPolicyViolation(StrictMode.java:1875) at android.os.StrictMode$AndroidBlockGuardPolicy.lambda$handleViolationWithTimingAttempt$0$android-os-StrictMode$AndroidBlockGuardPolicy(StrictMode.java:1789) at android.os.StrictMode$AndroidBlockGuardPolicy$$ExternalSyntheticLambda1.run(Unknown Source:6) at android.os.Handler.handleCallback(Handler.java:942) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7898) at java.lang.reflect.Method.invoke(Native Method) at...