matrix
matrix copied to clipboard
引入后会造成跟 SwipeRefreshLayout 冲突引起闪退报错空指针异常
NullPointerException Attempt to invoke virtual method 'void android.graphics.drawable.Drawable.setAlpha(int)' on a null object reference androidx.swiperefreshlayout.widget.SwipeRefreshLayout in setColorViewAlpha at line 234 androidx.swiperefreshlayout.widget.SwipeRefreshLayout in reset at line 209 androidx.swiperefreshlayout.widget.SwipeRefreshLayout in onDetachedFromWindow at line 230 android.view.View in dispatchDetachedFromWindow at line 13560 android.view.ViewGroup in dispatchDetachedFromWindow at line 2837 android.view.ViewGroup in dispatchDetachedFromWindow at line 2834 2 android.view.ViewGroup in removeViewInternal at line 4220 android.view.ViewGroup in removeViewInternal at line 4193 android.view.ViewGroup in removeView at line 4124 androidx.fragment.app.FragmentManagerImpl in moveToState at line 973 androidx.fragment.app.FragmentManagerImpl in moveFragmentToExpectedState at line 1238 androidx.fragment.app.FragmentManagerImpl in moveToState at line 1303 androidx.fragment.app.FragmentManagerImpl in dispatchStateChange at line 2659 androidx.fragment.app.FragmentManagerImpl in dispatchDestroy at line 2644 androidx.fragment.app.FragmentController in dispatchDestroy at line 329 androidx.fragment.app.FragmentActivity in onDestroy at line 366 androidx.appcompat.app.AppCompatActivity in onDestroy at line 242 com.ph.arch.lib.base.activity.BaseActivity in onDestroy at line 121 android.app.Activity in performDestroy at line 6169 android.app.Instrumentation in callActivityOnDestroy at line 1141 android.app.ActivityThread in performDestroyActivity at line 3698 android.app.ActivityThread in handleDestroyActivity at line 3729 android.app.ActivityThread in access$1400 at line 153 android.app.ActivityThread$H in handleMessage at line 1359 android.os.Handler in dispatchMessage at line 102 android.os.Looper in loop at line 135 android.app.ActivityThread in main at line 5293 java.lang.reflect.Method in invoke java.lang.reflect.Method in invoke at line 372 com.android.internal.os.ZygoteInit$MethodAndArgsCaller in run at line 903 com.android.internal.os.ZygoteInit in main at line 698
建议先关闭activityLeakFixer
这个修复还没发版本么?