getContentDescription

open fun getContentDescription(@NonNull context: Context, year: Int, month: Int, day: Int, valid: Boolean, selected: Boolean, @Nullable originalContentDescription: CharSequence): CharSequence

Override this method to return the day view's content description.

Return

The content description

Parameters

context

The context of the day view

year

The year number corresponding to the day view (see java.util.Calendar.YEAR)

month

The month number (0-11) corresponding to the day view (see )

day

The day of month number corresponding to the day view (see )

valid

Boolean for whether the day view is in a valid state (if not valid, the day view will likely look and behave disabled)

selected

Boolean for whether the day view is in a selected state (if selected, the day view will likely have a filled color background)

originalContentDescription

The original day view's content description