Skip to content

Commit ca0f2cb

Browse files
committed
Bump AdapterLayout to minSdk 9 to match the support library update
1 parent 41efba9 commit ca0f2cb

8 files changed

Lines changed: 16 additions & 21 deletions

File tree

.travis.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,8 @@ android:
77
components:
88
- platform-tools
99
- tools
10-
11-
# The BuildTools version used by your project
12-
- build-tools-24.0.1
13-
14-
# The SDK version used to compile your project
10+
- build-tools-24.0.2
1511
- android-24
16-
17-
# Additional components
1812
- extra-android-m2repository
1913

2014
before_script:

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AdapterLayout
2-
ViewGroup backed by RecyclerView.Adapter = magic
2+
ViewGroup backed by RecyclerView.Adapter, allowing for easy data set manipulation with non recycling views. Aka RecyclerView minus the recycling.
33

44
[![Build Status](https://travis-ci.org/Commit451/AdapterLayout.svg?branch=master)](https://travis-ci.org/Commit451/AdapterLayout) [![](https://jitpack.io/v/Commit451/AdapterLayout.svg)](https://jitpack.io/#Commit451/AdapterLayout)
55

@@ -26,7 +26,7 @@ dependencies {
2626
```
2727

2828
# Usage
29-
See the sample project for a full sample.
29+
See the sample project for full usage.
3030
```java
3131
//CheeseAdapter is a RecyclerView adapter
3232
CheeseAdapter cheeseAdapter = new CheeseAdapter();
@@ -52,7 +52,7 @@ Most developers should be using `RecyclerView` instead of `ListView` and should
5252
- AdapterFlowLayout (separate dependency)
5353

5454
# Creating Your Own AdapterLayout
55-
It is simple to create your own `ViewGroup` backed by a `RecyclerView.Adapter`. See `AdapterFlowLayout` in the sample app and `AdapterLayoutDelegate` in the library for an example of how to create one.
55+
It is simple to create your own `ViewGroup` backed by a `RecyclerView.Adapter`. See the `AdapterFlowLayout` library and `AdapterLayoutDelegate` in the library for an example of how to create one.
5656

5757
# Limitations
5858
- Within a `RecyclerView.Adapter`, you can call `getAdapterPosition()`. This will always return -1 since there is actually never an associated RecyclerView.

adapterflowlayout/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
22

33
android {
44
compileSdkVersion 24
5-
buildToolsVersion "24.0.1"
5+
buildToolsVersion "24.0.2"
66

77
defaultConfig {
88
minSdkVersion 9

adapterlayout/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ apply plugin: 'com.android.library'
22

33
android {
44
compileSdkVersion 24
5-
buildToolsVersion "24.0.1"
5+
buildToolsVersion "24.0.2"
66

77
defaultConfig {
8-
minSdkVersion 7
8+
minSdkVersion 9
99
targetSdkVersion 24
1010
versionCode 1
1111
versionName "1.0"
@@ -23,7 +23,7 @@ android {
2323

2424
dependencies {
2525
compile fileTree(include: ['*.jar'], dir: 'libs')
26-
compile 'com.android.support:recyclerview-v7:24.1.1'
26+
compile 'com.android.support:recyclerview-v7:24.2.1'
2727
}
2828

2929
apply from: 'https://raw.githubusercontent.com/Commit451/gradle-android-javadocs/1.0.0/gradle-android-javadocs.gradle'

app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
22

33
android {
44
compileSdkVersion 24
5-
buildToolsVersion "24.0.1"
5+
buildToolsVersion "24.0.2"
66

77
defaultConfig {
88
applicationId "com.commit451.adapterlayout.sample"
@@ -25,8 +25,8 @@ android {
2525
dependencies {
2626
compile fileTree(dir: 'libs', include: ['*.jar'])
2727
testCompile 'junit:junit:4.12'
28-
compile 'com.android.support:appcompat-v7:24.1.1'
29-
compile 'com.android.support:design:24.1.1'
28+
compile 'com.android.support:appcompat-v7:24.2.1'
29+
compile 'com.android.support:design:24.2.1'
3030
compile 'com.jakewharton:butterknife:7.0.1'
3131
compile project(':adapterlayout')
3232
compile project(':adapterflowlayout')

app/src/main/java/com/commit451/adapterlayout/sample/MainActivity.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,5 +101,6 @@ public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
101101
}
102102
}
103103
});
104+
mCheckboxAnimateLayoutChanges.setChecked(true);
104105
}
105106
}

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ buildscript {
55
jcenter()
66
}
77
dependencies {
8-
classpath 'com.android.tools.build:gradle:2.1.2'
9-
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
8+
classpath 'com.android.tools.build:gradle:2.2.0'
9+
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
1010
classpath 'com.github.ben-manes:gradle-versions-plugin:0.13.0'
1111

1212
// NOTE: Do not place your application dependencies here; they belong
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Wed Jun 08 17:56:17 CDT 2016
1+
#Fri Sep 30 00:59:54 CDT 2016
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip

0 commit comments

Comments
 (0)