- iOS-style wheel picker supports all Android versions starting from Android lollipop(5.0).
- For single wheel picker, use JSinglePickerDialogFragment, a JSinglePickerDialogData or JSinglePickerDialogAdapterData is needed.
- For multiple wheels picker, use JMultiplePickerDialogFragment, a JMultiPickerDialogData is needed.
- For date picker, use JDateWheelPickerDialogFragment, a JDatePickerDialogData is needed.
- Or you can create your own picker by using the JWheelPicker, JMultiWheelPicker and JDateWheelPicker which are just normal Compose UI.
- WindowInsets are well handle by default inside these PickerDialogFragment
- add repo
maven { url 'https://jitpack.io' }
- latest version
- add
implementation("com.github.oOJohn6Oo:JWheelPicker:<version>")
And using FragmentResult API to get the callback