SeslDatePicker
open class SeslDatePicker : LinearLayout, SeslSimpleMonthView.OnDayClickListener, View.OnClickListener, View.OnLongClickListener, SeslSimpleMonthView.OnDeactivatedDayClickListener(source)
A custom date picker widget for selecting dates, supporting both standard and lunar calendars.
The SeslDatePicker
provides a user interface for date selection, allowing users to pick a year, month, and day. It supports various configurations, including minimum and maximum date constraints, and can be customized for different locales and calendar systems.
This widget is designed to be used within Android applications that require date input from users. It integrates with accessibility services and provides support for custom fonts, animations, and Samsung-specific features such as lunar calendar conversion.
Features:
- Standard and lunar calendar support
- Customizable appearance and font
- Minimum and maximum date constraints
- Accessibility support
- Locale-aware formatting
- Samsung-specific enhancements
Usage Example:
SeslDatePicker datePicker = new SeslDatePicker(context);
datePicker.setMinDate(minDateInMillis);
datePicker.setMaxDate(maxDateInMillis);
datePicker.init(year, month, day, new SeslDatePicker.OnDateChangedListener() {
public void onDateChanged(SeslDatePicker view, int year, int monthOfYear, int dayOfMonth) {
// Handle date change
}
});
Content copied to clipboard
See also
Types
Link copied to clipboard
Link copied to clipboard
interface OnDateChangedListener
Link copied to clipboard
interface OnEditTextModeChangedListener
Link copied to clipboard
interface OnViewTypeChangedListener
Link copied to clipboard
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onDeactivatedDayClick(@NonNull view: SeslSimpleMonthView, year: Int, month: Int, selectedDay: Int, isLeapMonth: Boolean, isPrevMonth: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setOnEditTextModeChangedListener(@Nullable onEditModeChangedListener: SeslDatePicker.OnEditTextModeChangedListener)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard