You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have implemented code through which a user can add decorators through a button click. But how do I permanently save it.
Here is my decorator class:
class RedMarkDecorator(context: MainActivity?, currentDay: CalendarDay?) : DayViewDecorator {
var myDay = currentDay
var color = RED
override fun shouldDecorate(day: CalendarDay?): Boolean {
return day == myDay
}
override fun decorate(view: DayViewFacade) {
view.addSpan(DotSpan(7f, color))
}
}
I have implemented code through which a user can add decorators through a button click. But how do I permanently save it.
Here is my decorator class:
onDateSelected:
The text was updated successfully, but these errors were encountered: