<CustomMaterialDataPicker to select just one day> ...
# stackoverflow
u
CustomMaterialDataPicker to select just one day I was developing an App where I need to implement the following component of android library: RangeDateSelector. My main goal is limit the selection to just one day, instead of allow pick a range of days. To do this I use my CustomDataPicker, which allow to select a range of dates: CustomMaterialDatePicker @SuppressLint("RestrictedApi") class CustomMaterialDatePicker : RangeDateSelector() { private var first = true private var firstDate: Long? = null override fun...