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
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