Skip to content

Commit

Permalink
我说我完善 你信不
Browse files Browse the repository at this point in the history
  • Loading branch information
doutuifei committed Mar 26, 2018
1 parent 3d3a948 commit afa63e3
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 62 deletions.
118 changes: 60 additions & 58 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,42 @@

[APK下载](https://w-5.net/YPqDk)

## 使用

### Gradle
```
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```

```
dependencies {
compile 'com.github.mzyq:VerticalCalendar:0.1.2'
}
```

### Maven
```
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
```

```
<dependency>
<groupId>com.github.mzyq</groupId>
<artifactId>VerticalCalendar</artifactId>
<version>0.1.2</version>
</dependency>
```

## 功能
* 默认显示6个月信息
* 连续选择
Expand Down Expand Up @@ -97,69 +133,35 @@ public class DayBean {
* get方法

```
/**
* 获取开始日期
*
* @return
*/
public SelectBean getSelectStartDays() {
return startSelectBean;
}
/**
* 获取开始日期
*
* @return
*/
public DayBean getSelectStartDays() {
return startSelectBean.getDayBean();
}
/**
* 获取结束日期
*
* @return
*/
public SelectBean getSelectEndDays() {
return endSelectBean;
}
/**
* 获取结束日期
*
* @return
*/
public DayBean getSelectEndDays() {
return endSelectBean.getDayBean();
}
/**
* 获取选择天数
*
* @return
*/
public int getSelectDays() {
return selectDays;
}
```

## 使用

### Gradle
```
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```

```
dependencies {
compile 'com.github.mzyq:VerticalCalendar:0.1.0'
}
/**
* 获取选择天数
*
* @return
*/
public int getSelectDays() {
return selectDays;
}
```

### Maven
```
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
```

```
<dependency>
<groupId>com.github.mzyq</groupId>
<artifactId>VerticalCalendar</artifactId>
<version>0.1.0</version>
</dependency>
```

## 混淆
```
Expand Down
8 changes: 4 additions & 4 deletions library/src/main/java/com/muzi/library/CalendarView.java
Original file line number Diff line number Diff line change
Expand Up @@ -667,17 +667,17 @@ public void onDays(int day) {
*
* @return
*/
public SelectBean getSelectStartDays() {
return startSelectBean;
public DayBean getSelectStartDays() {
return startSelectBean.getDayBean();
}

/**
* 获取结束日期
*
* @return
*/
public SelectBean getSelectEndDays() {
return endSelectBean;
public DayBean getSelectEndDays() {
return endSelectBean.getDayBean();
}

/**
Expand Down

0 comments on commit afa63e3

Please sign in to comment.