I want to select multiple dates in calendar in android

前端 未结 3 1903
无人及你
无人及你 2021-01-18 14:00

I want to select multiple dates in calendar,multiple select is working fine but in toast displaying only single date(first date).If I selected 4 days(1.8.14 to 4.8.14) all

3条回答
  •  终归单人心
    2021-01-18 14:12

    A quick google says there is a method in CalendarPickerView called getSelectedDates() which returns a list of dates. This is probably what you want.

    Updated link: https://github.com/square/android-times-square/blob/master/library/src/main/java/com/squareup/timessquare/CalendarPickerView.java

提交回复
热议问题