Skip to content

Commit 183f15c

Browse files
committed
Use Functional (SAM) interface
1 parent ebae7e1 commit 183f15c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numberpicker/src/main/kotlin/androidx/preference/NumberPickerPreference.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class NumberPickerPreference @JvmOverloads constructor(
3030
* this preference is bound. This allows you to customize the [NumberPicker] displayed
3131
* in the dialog, such as setting a max length or a specific input type.
3232
*/
33-
interface OnBindNumberPickerListener {
33+
fun interface OnBindNumberPickerListener {
3434
/**
3535
* Called when the dialog view for this preference has been bound, allowing you to
3636
* customize the [NumberPicker] displayed in the dialog.

0 commit comments

Comments
 (0)