Skip to content

Commit cbf0146

Browse files
committed
support android 3.0
1 parent b4eedf2 commit cbf0146

File tree

5 files changed

+15
-4
lines changed

5 files changed

+15
-4
lines changed

README.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,18 @@
5858
- 增加拖拽功能与demo,效果图:
5959

6060

61+
6162
![拖拽](https://github.com/ssseasonnn/PracticalRecyclerView/blob/master/gif/drag.gif?raw=true)
6263

6364

65+
66+
67+
### 2016-10-18 更新:
68+
69+
- 向下支持到API 11(android 3.0)
70+
71+
72+
6473
### 使用方式:
6574

6675
1.添加Gradle依赖
@@ -69,7 +78,7 @@
6978

7079
```groovy
7180
dependencies{
72-
compile 'zlc.season:practicalrecyclerview:1.0.6'
81+
compile 'zlc.season:practicalrecyclerview:1.0.7'
7382
}
7483
```
7584
2.在布局文件中添加PracticalRecyclerView

app/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ android {
66

77
defaultConfig {
88
applicationId "zlc.season.demo"
9-
minSdkVersion 15
9+
minSdkVersion 11
1010
targetSdkVersion 24
1111
versionCode 1
1212
versionName "1.0"

app/src/main/AndroidManifest.xml

+2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
xmlns:tools="http://schemas.android.com/tools"
34
package="zlc.season.demo">
45

6+
<uses-sdk tools:overrideLibrary="android.support.v13"/>
57
<uses-permission android:name="android.permission.INTERNET"/>
68

79
<application

practicalrecyclerview/bintray.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'com.github.dcendents.android-maven'
22
apply plugin: 'com.jfrog.bintray'
33

44
// This is the library version used when deploying the artifact
5-
version = "1.0.6"
5+
version = "1.0.7"
66

77
def siteUrl = 'https://github.com/ssseasonnn/PracticalRecyclerView' // 项目的主页
88
def gitUrl = 'https://github.com/ssseasonnn/PracticalRecyclerView.git' // Git仓库的url

practicalrecyclerview/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ android {
55
buildToolsVersion "24.0.3"
66

77
defaultConfig {
8-
minSdkVersion 15
8+
minSdkVersion 11
99
targetSdkVersion 24
1010
versionCode 1
1111
versionName "1.0"

0 commit comments

Comments
 (0)