Kale

Results 8 comments of Kale

allprojects { repositories { ... maven { url 'https://www.jitpack.io' } } } dependencies { implementation 'com.github.Curzibn:Luban:1.1.8' } 目前可以先这样用。

> @fubd 可惜像我这样认真维护的人没多少star 大佬在用你的库~感谢你的开源~~请求作者上榜东哥!

How long until 3.x is released? I could hardly wait~~~

看源码的 WheelView的第222行 ` private void addOnGlobalLayoutListener() { getViewTreeObserver().addOnGlobalLayoutListener(new ViewTreeObserver .OnGlobalLayoutListener() { @Override public void onGlobalLayout() { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { getViewTreeObserver().removeOnGlobalLayoutListener(this); } else { getViewTreeObserver().removeGlobalOnLayoutListener(this); } if (getChildCount() >...

hello,you can see the source. in the WheelView line 222 `private void addOnGlobalLayoutListener() { getViewTreeObserver().addOnGlobalLayoutListener(new ViewTreeObserver .OnGlobalLayoutListener() { @Override public void onGlobalLayout() { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { getViewTreeObserver().removeOnGlobalLayoutListener(this); }...

You can try the solution I've used elsewhere @hoboris ```init{ val composeView = ComposeView(context).apply { setContent { } val frameLayout = FrameLayout(context).apply { //core id = android.R.id.content ViewTreeLifecycleOwner.set(this, lifecycleOwner) setViewTreeSavedStateRegistryOwner(saveOwner)...

我也遇到该问题,是魅族20 pro上面出现,华为正常。