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

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

Update button visibility as a final step in DayPickerView construction

Previously it was only updated when the page was turned, but that listener
isn't called until the user turns the page.

Bug: 20701637
Change-Id: I06faf59660cda0e19d57766f4afd141e4a389b18
parent 9cb90cbb
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -176,6 +176,8 @@ class DayPickerView extends ViewGroup {
                }
            }
        });

        updateButtonVisibility(mViewPager.getCurrentItem());
    }

    private void updateButtonVisibility(int position) {