UniversalPickerDialog
Customizable dialog with auto generated pickers inside that depend on the dataset count.
Android dialog with auto generated pickers inside, which depends on count of datasets provided.
Download
Download via Gradle:
or Maven:
Usage
Implement callback interface:
Then implement OnPickListener.onPick(int[], int) method:
Now you can build the dialog and show it. Just add these few lines:
Data set is passing to Picker using Input class that supports lists as well as arrays, so no data conversion is required :)).
It takes in constructor default item position in carousel as the first argument and data set as the second.
Builder was extended by a many methods for more flexibility and convenience of use.
Here's the full list (you can find the javadoc on each of these methods):