@@ -31,14 +31,14 @@ Usage
31
31
<dependency >
32
32
<groupId >com.github.alamkanak</groupId >
33
33
<artifactId >android-week-view</artifactId >
34
- <version >1.2.3 </version >
34
+ <version >1.2.4 </version >
35
35
<type >aar</type >
36
36
</dependency >
37
37
```
38
38
* Grab via gradle
39
39
40
40
```groovy
41
- compile 'com.github.alamkanak:android-week-view:1.2.3 '
41
+ compile 'com.github.alamkanak:android-week-view:1.2.4 '
42
42
```
43
43
2. Add WeekView in your xml layout.
44
44
@@ -117,13 +117,23 @@ You can customize the look of the `WeekView` in xml. Use the following attribute
117
117
- `textSize`
118
118
- `todayBackgroundColor`
119
119
- `todayHeaderTextColor`
120
+ - `showDistinctPastFutureColor`
121
+ - `futureBackgroundColor`
122
+ - `pastBackgroundColor`
123
+ - `showDistinctWeekendColor`
124
+ - `futureWeekendBackgroundColor`
125
+ - `pastWeekendBackgroundColor`
126
+ - `showNowLine`
127
+ - `nowLineColor`
128
+ - `nowLineThickness`
120
129
121
130
Interfaces
122
131
----------
123
132
124
133
Use the following interfaces according to your need.
125
134
126
- - `mWeekView.setMonthChangeListener()` to provide events to the calendar
135
+ - `mWeekView.setWeekViewLoader()` to provide events to the calendar
136
+ - `mWeekView.setMonthChangeListener()` to provide events to the calendar by months
127
137
- `mWeekView.setOnEventClickListener()` to get a callback when an event is clicked
128
138
- `mWeekView.setEventLongPressListener()` to get a callback when an event is long pressed
129
139
- `mWeekView.setEmptyViewClickListener()` to get a callback when any empty space is clicked
@@ -145,6 +155,15 @@ To do
145
155
Changelog
146
156
---------
147
157
158
+ **Version 1.2.4**
159
+
160
+ * **NOTE:** If you are using `WeekView.MonthChangeListener`, make sure to change it into `MonthLoader.MonthChangeListener`
161
+ * Add support to have loaders other than MonthViewLoader
162
+ * Add pinch to zoom support
163
+ * Add support for location
164
+ * Add ability to have different colors for past, future, weekend days
165
+ * Add support for "now" line
166
+
148
167
**Version 1.2.3**
149
168
150
169
* Get callbacks when scrolling horizontally
0 commit comments