CustomDateTimePicker
CustomDateTimePicker copied to clipboard
Can't be used in a fragment
I am unable to use this date time picker in a fragment, because when I am trying to create the instance of it, its showing syntax error due to the class signature class CustomDateTimePicker(private val activity: Activity,customDateTimeListener: ICustomDateTimeListener). It accepts the first argument as Activity only