Fatal Exception: java.lang.NoSuchMethodError
No static method items$default(Landroidx/compose/foundation/lazy/LazyListScope;ILkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function4;ILjava/lang/Object;)V in class Landroidx/compose/foundation/lazy/LazyListScope; or its super classes (declaration of 'androidx.compose.foundation.lazy.LazyListScope' appears in /data/app/~~dvpxDbu2j4qrjTulliy9vw==/com.ruchitech.quicklinkcaller-Ax3zZoB_MjrjwlLaM9JrBQ==/base.apk)
Add this method in WheelView.java @OverRide
public boolean onInterceptTouchEvent(MotionEvent ev) {
// Stop ScrollView from getting involved once you interact with the View
if (ev.getActionMasked() == MotionEvent.ACTION_DOWN) {
ViewParent p = getParent();
if (p != null){
p.requestDisallowInterceptTouchEvent(true);
}
}
return super.onInterceptTouchEvent(ev);
}
I have implemented this library in kotlin code. But it is always disabled. I can not scroll any of 3 pickers.
Edit:-
I found that it works fine in normal screen but inside RecyclerView adapter or viewpager it is not working.
The date picker is not set in cycle mode like the current month date is 1 to 30, we scroll down 1 to 30 then stop scrolling on 30. I have to continually 1 to 30 again and again like IOS
I get the following error only when installing the app via the Google Play Store as an internal testing build, rather than installing via Android Studio on a test device
No static method weight$default(Landroidx/compose/foundation/layout/RowScope;Landroidx/compose/ui/Modifier;FZILjava/lang/Object;)Landroidx/compose/ui/Modifier; in class Landroidx/compose/foundation/layout/RowScope; or its super classes (declaration of 'androidx.compose.foundation.layout.RowScope' appears in base.apk)
Is there anything specific I need to do for release builds with the library?
I've been stuck trying to figure out how to use this lib for hours. Can you kindly help me with this implementation...like how can i make such a UI using your lib:
Right now, onDateSelected works like onDateChanged as it is triggered every time we scroll any of the sliders.
In some cases, we just need to open the date picker dialog and get the final selected Date after user clicks OK. So, maybe it would be great if we have these two options as callbacks? (onDateSelected and onDataChanged)