Skip to content

Commit 452a118

Browse files
committed
Release 1.4.3
1 parent c210955 commit 452a118

File tree

5 files changed

+21
-5
lines changed

5 files changed

+21
-5
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
Change Log
22
==========
3+
Version 1.4.3 *(2017-02-21)*
4+
----------------------------
5+
* New: Added set click listener method for title
6+
* New: Added `setSaveCurrentPosition` builder method to use the current position when switching mode
7+
* Fix: Fixed title update when only year changed
8+
* Fix: Fixed decorator rendering with custom tile dimensions on API Level 21
9+
* Fix: Added missing `dynamicHeightEnabled` save in `onSaveInstanceState()`
10+
* Fix: If we used `match_parent` for the MaterialCalendarView but the size available is not enough, the view was truncated
11+
312
Version 1.4.2 *(2016-10-10)*
413
----------------------------
514
* New: match_parent is now supported by tileSize, tileWidth and tileHeight

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ and feel, rather than 100% parity with the platform's implementation.
1212
Usage
1313
-----
1414

15-
1. Add `compile 'com.prolificinteractive:material-calendarview:1.4.2'` to your dependencies.
15+
1. Add `compile 'com.prolificinteractive:material-calendarview:1.4.3'` to your dependencies.
1616
2. Add `MaterialCalendarView` into your layouts or view hierarchy.
1717
3. Set a `OnDateSelectedListener` or call `MaterialCalendarView.getSelectedDates()` when you need it.
1818

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ buildscript {
33
jcenter()
44
}
55
dependencies {
6-
classpath 'com.android.tools.build:gradle:2.3.0-beta3'
6+
classpath 'com.android.tools.build:gradle:2.3.0-beta4'
77
classpath 'com.github.dcendents:android-maven-plugin:1.2'
88
}
99
}

docs/CUSTOMIZATION_BUILDER.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ mcv.state().edit()
1313
.setMinimumDate(CalendarDay.from(2016, 4, 3))
1414
.setMaximumDate(CalendarDay.from(2016, 5, 12))
1515
.setCalendarDisplayMode(CalendarMode.WEEKS)
16+
.setSaveCurrentPosition(true)
1617
.commit();
1718
```
1819

@@ -47,4 +48,10 @@ There are also convenience methods that accept a `Calendar` or a `Date` object a
4748
`MaterialCalendarView` propose two display modes: weekly and monthly. You can set the display mode in your xml using the attribute `mcv_calendarMode` with `month` for monthly mode, or `week` for weekly mode.
4849
You can also use the builder `setCalendarDisplayMode(CalendarMode)` parameter.
4950

50-
It is **important** to note that the `CalendarMode.WEEKS` is still experimental.
51+
It is **important** to note that the `CalendarMode.WEEKS` is still experimental.
52+
53+
### Save current position between week and month mode
54+
55+
`SaveCurrentPosition` is set to false by default. When switching between week and month mode, the view redirect you to the today's date.
56+
57+
When `setSaveCurrentPosition` is set to `true`, the calendar will stay on the current position or last selected date.

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
# org.gradle.parallel=true
1919

2020
GROUP=com.prolificinteractive
21-
VERSION_NAME=1.4.2
22-
VERSION_CODE=17
21+
VERSION_NAME=1.4.3
22+
VERSION_CODE=18
2323

2424
POM_PACKAGING=aar
2525
POM_NAME=Material CalendarView

0 commit comments

Comments
 (0)