Closed monowar1993 closed 4 years ago
You can select a date like this:
/*
* Should only be called, when view is inflated and visible (e.g. determine by focus).
*/
private fun selectToday() {
val today = SuperCalendarDate()
mCalendarAdapter.notifyDataChanged(today)
}
It going to today. But what I want to go to 22-10-2016
@adrianpop1990 is there any way to set and get max and min year.
It going to today. But what I want to go to 22-10-2016
If you want to select the date 22-10-2016, you can use this function:
/*
* Should only be called, when view is inflated and visible (e.g. determine by focus).
*/
private fun selectDay(year: Int, month: Int, day: Int) {
val date = SuperCalendarDate(year, month, day)
mCalendarAdapter.notifyDataChanged(date)
}
@adrianpop1990 is there any way to set and get max and min year.
I don't saw any method to set or get the max and min year. If you need this feature, you can create a fork and implement it. The structure of the calendar is easy to understand, so it should not be hard to do this.
Hello Is there an way to add max and min date range? Also how can I jump to a specific date?