Skip to content

Commit 3f3e7b7

Browse files
committed
Bump so that adapterflowlayout can be a dependency
1 parent 7f71c6c commit 3f3e7b7

7 files changed

Lines changed: 20 additions & 10 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ android:
99
- tools
1010

1111
# The BuildTools version used by your project
12-
- build-tools-24.0.0
12+
- build-tools-24.0.1
1313

1414
# The SDK version used to compile your project
1515
- android-24

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@ and within your application `build.gradle`
1515

1616
```gradle
1717
dependencies {
18-
compile 'com.github.Commit451:AdapterLayout:1.0.2'
18+
compile 'com.github.Commit451.AdapterLayout:adapterlayout:1.0.3'
19+
}
20+
```
21+
and for FlowLayout support
22+
```gradle
23+
dependencies {
24+
compile 'com.github.Commit451.AdapterLayout:adapterflowlayout:1.0.3'
1925
}
2026
```
2127

@@ -43,11 +49,14 @@ Most developers should be using `RecyclerView` instead of `ListView` and should
4349

4450
# Currently Created AdapterLayouts
4551
- AdapterLinearLayout
46-
- AdapterFlowLayout (currently in the sample app, can be copied out)
52+
- AdapterFlowLayout (separate dependency)
4753

4854
# Creating Your Own AdapterLayout
4955
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.
5056

57+
# Limitations
58+
- Within a `RecyclerView.Adapter`, you can call `getAdapterPosition()`. This will always return -1 since there is actually never an associated RecyclerView.
59+
5160
License
5261
--------
5362

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.0"
5+
buildToolsVersion "24.0.1"
66

77
defaultConfig {
88
minSdkVersion 9

adapterlayout/build.gradle

Lines changed: 2 additions & 2 deletions
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.0"
5+
buildToolsVersion "24.0.1"
66

77
defaultConfig {
88
minSdkVersion 7
@@ -23,7 +23,7 @@ android {
2323

2424
dependencies {
2525
compile fileTree(include: ['*.jar'], dir: 'libs')
26-
compile 'com.android.support:recyclerview-v7:24.0.0'
26+
compile 'com.android.support:recyclerview-v7:24.1.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.0"
5+
buildToolsVersion "24.0.1"
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.0.0'
29-
compile 'com.android.support:design:24.0.0'
28+
compile 'com.android.support:appcompat-v7:24.1.1'
29+
compile 'com.android.support:design:24.1.1'
3030
compile 'com.jakewharton:butterknife:7.0.1'
3131
compile project(':adapterlayout')
3232
compile project(':adapterflowlayout')

build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
2-
2+
apply plugin: 'com.github.ben-manes.versions'
33
buildscript {
44
repositories {
55
jcenter()
66
}
77
dependencies {
88
classpath 'com.android.tools.build:gradle:2.1.2'
99
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
10+
classpath 'com.github.ben-manes:gradle-versions-plugin:0.13.0'
1011

1112
// NOTE: Do not place your application dependencies here; they belong
1213
// in the individual module build.gradle files

gradlew

100644100755
File mode changed.

0 commit comments

Comments
 (0)