Skip to content

Commit

Permalink
Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
billthefarmer committed Jun 4, 2017
1 parent 1b7acf8 commit 5981d5c
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ allprojects {
and:
```gradle
dependencies {
compile 'com.github.billthefarmer:CustomCalendarView:v1.0'
compile 'com.github.billthefarmer:CustomCalendarView:v1.01'
}
```

Expand Down
15 changes: 15 additions & 0 deletions app/src/main/java/org/billthefarmer/test/Main.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright (c) 2017 Bill Farmer.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package org.billthefarmer.test;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
public class CustomCalendarView extends LinearLayout
{
private static final String TAG = "CustomCalendarView";

private static final int CALENDAR_DAYS = 42;

// Days of week
Expand Down Expand Up @@ -238,8 +237,8 @@ private void onSwipeRight()
currentCalendar =
Calendar.getInstance(Locale.getDefault());
currentCalendar.add(Calendar.MONTH, currentMonthIndex);

refreshCalendar(currentCalendar);

if (calendarListener != null)
calendarListener.onMonthChanged(currentCalendar);
}
Expand Down
2 changes: 1 addition & 1 deletion library/src/main/java/org/billthefarmer/view/DayView.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public void bind(Calendar date, List<DayDecorator> decorators)
// decorate
public void decorate()
{
//Set custom decorators
// Set custom decorators
if (decorators != null)
{
for (DayDecorator decorator : decorators)
Expand Down

0 comments on commit 5981d5c

Please sign in to comment.