上传者: 39840588
|
上传时间: 2022-03-11 14:51:21
|
文件大小: 267KB
|
文件类型: -
DateTimeRangePicker
A date time range picker for android
Usage
Firstly, grab latest release of the library via JitPack. And note that, it utilizes Joda-Time to process some date time logic under the hood. So you might need to set up Joda-Time properly.
With start and end date times specified:
val intent = DateTimeRangePickerActivity.newIntent(
context,
TimeZone.getDefault(),
DateTime.now().millis,
DateTime.now().plusDays(2).millis
)
activity.startActivityForResult(intent, RQ