wyatt
wyatt
解决了。重写 OnFloatAnimator 加一个 FLAG_NOT_TOUCHABLE class Animator implements OnFloatAnimator { @Nullable @Override public android.animation.Animator enterAnim(@NonNull View view, @NonNull WindowManager.LayoutParams layoutParams, @NonNull WindowManager windowManager, @NonNull SidePattern sidePattern) { layoutParams.flags = WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL |...
All anonymous functions created in the body of the loop capture the two variables themselves (the addresses of the variables), not the values of the two variables.
However, in production, backfilling historical data is very necessary, and I hope there can be a solution.
Is there any latest progress?