commit | bd51b4d0b930f8c64920954f4f9e5033e0001d5e | [log] [tgz] |
---|---|---|
author | Alan Viverette <alanv@google.com> | Fri May 15 14:18:44 2015 -0700 |
committer | Alan Viverette <alanv@google.com> | Fri May 15 14:18:44 2015 -0700 |
tree | caa1e29d31d86a423c8871c54388948e9b3e51fc | |
parent | afabc217226c11bad46de4eac557f8fe2e15f708 [diff] |
Return correct year in DayPickerPagerAdapter.getYearForPosition() Previously it wasn't offsetting the position by the min date's month, so it would be off by a year if the min date wasn't in January. Also now updates button visibility whenever the ViewPager's range changes. Bug: 21203303 Change-Id: Id7a41a4fa48843943c744fb0fecd4bebb798cee5