Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d6d9a94f authored by Alan Viverette's avatar Alan Viverette
Browse files

Refresh views on DayPicker appearance changes

Bug: 28023419
Change-Id: Ie64face1d2a1be7f7be5814b60ed6d803f82d1e9
parent 12a52bc3
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -148,18 +148,22 @@ class DayPickerPagerAdapter extends PagerAdapter {

    void setCalendarTextColor(ColorStateList calendarTextColor) {
        mCalendarTextColor = calendarTextColor;
        notifyDataSetChanged();
    }

    void setDaySelectorColor(ColorStateList selectorColor) {
        mDaySelectorColor = selectorColor;
        notifyDataSetChanged();
    }

    void setMonthTextAppearance(int resId) {
        mMonthTextAppearance = resId;
        notifyDataSetChanged();
    }

    void setDayOfWeekTextAppearance(int resId) {
        mDayOfWeekTextAppearance = resId;
        notifyDataSetChanged();
    }

    int getDayOfWeekTextAppearance() {
@@ -168,6 +172,7 @@ class DayPickerPagerAdapter extends PagerAdapter {

    void setDayTextAppearance(int resId) {
        mDayTextAppearance = resId;
        notifyDataSetChanged();
    }

    int getDayTextAppearance() {