am aa33a487: Merge "Always update date picker position after change in range" into lmp-mr1-dev
* commit 'aa33a487c8bfa0503a4c744a932a8344a96d52e1': Always update date picker position after change in range
This commit is contained in:
@@ -107,10 +107,10 @@ class DayPickerView extends ListView implements AbsListView.OnScrollListener,
|
|||||||
|
|
||||||
mAdapter.setRange(mMinDate, mMaxDate);
|
mAdapter.setRange(mMinDate, mMaxDate);
|
||||||
|
|
||||||
if (constrainCalendar(mSelectedDay, mMinDate, mMaxDate)) {
|
// Changing the min/max date changes the selection position since we
|
||||||
|
// don't really have stable IDs.
|
||||||
goTo(mSelectedDay, false, true, true);
|
goTo(mSelectedDay, false, true, true);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constrains the supplied calendar to stay within the min and max
|
* Constrains the supplied calendar to stay within the min and max
|
||||||
|
|||||||
Reference in New Issue
Block a user