File tree 5 files changed +32
-14
lines changed
src/main/java/link/fls/swipestacksample
5 files changed +32
-14
lines changed Original file line number Diff line number Diff line change 3
3
buildscript {
4
4
repositories {
5
5
jcenter()
6
+ maven {
7
+ url ' https://maven.google.com/'
8
+ name ' Google'
9
+ }
6
10
}
7
11
dependencies {
8
- classpath ' com.android.tools.build:gradle:2.2.0 '
9
- classpath ' com.novoda:bintray-release:0.3.4 '
12
+ classpath ' com.android.tools.build:gradle:3.0.1 '
13
+ classpath ' com.novoda:bintray-release:0.7.0 '
10
14
}
11
15
}
12
16
13
17
allprojects {
14
18
repositories {
15
19
jcenter()
20
+ maven {
21
+ url ' https://maven.google.com/'
22
+ name ' Google'
23
+ }
16
24
}
17
25
}
18
26
Original file line number Diff line number Diff line change 1
- # Thu Dec 15 03:17:16 IST 2016
1
+ # Wed Nov 29 09:35:22 JST 2017
2
2
distributionBase =GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
6
- distributionUrl =https\://services.gradle.org/distributions/gradle-2.14 .1-all.zip
6
+ distributionUrl =https\://services.gradle.org/distributions/gradle-4 .1-all.zip
Original file line number Diff line number Diff line change @@ -5,12 +5,12 @@ def final String VERSION_NAME = "0.3.0"
5
5
def final int VERSION_CODE = 30
6
6
7
7
android {
8
- compileSdkVersion 25
9
- buildToolsVersion " 25 .0.0 "
8
+ compileSdkVersion 27
9
+ buildToolsVersion " 27 .0.1 "
10
10
11
11
defaultConfig {
12
12
minSdkVersion 16
13
- targetSdkVersion 23
13
+ targetSdkVersion 27
14
14
versionCode VERSION_CODE
15
15
versionName VERSION_NAME
16
16
}
@@ -25,7 +25,7 @@ android {
25
25
dependencies {
26
26
compile fileTree(dir : ' libs' , include : [' *.jar' ])
27
27
testCompile ' junit:junit:4.12'
28
- compile ' com.android.support:appcompat-v7:25 .0.1 '
28
+ compile ' com.android.support:appcompat-v7:27 .0.2 '
29
29
}
30
30
31
31
publish {
Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.application'
2
2
3
3
android {
4
- compileSdkVersion 23
5
- buildToolsVersion " 23 .0.2 "
4
+ compileSdkVersion 27
5
+ buildToolsVersion " 27 .0.1 "
6
6
7
7
defaultConfig {
8
8
applicationId " link.fls.swipestacksample"
9
9
minSdkVersion 16
10
- targetSdkVersion 23
10
+ targetSdkVersion 27
11
11
versionCode 1
12
12
versionName " 1.0"
13
13
}
@@ -23,7 +23,7 @@ dependencies {
23
23
compile fileTree(dir : ' libs' , include : [' *.jar' ])
24
24
testCompile ' junit:junit:4.12'
25
25
compile project(' :library' )
26
- compile ' com.android.support:appcompat-v7:23.1.1 '
27
- compile ' com.android.support:cardview-v7:23.1.1 '
28
- compile ' com.android.support:design:23.1.1 '
26
+ compile ' com.android.support:appcompat-v7:27.0.2 '
27
+ compile ' com.android.support:cardview-v7:27.0.2 '
28
+ compile ' com.android.support:design:27.0.2 '
29
29
}
Original file line number Diff line number Diff line change @@ -130,6 +130,16 @@ public void onStackEmpty() {
130
130
Toast .makeText (this , R .string .stack_empty , Toast .LENGTH_SHORT ).show ();
131
131
}
132
132
133
+ @ Override
134
+ public void onClick () {
135
+
136
+ }
137
+
138
+ @ Override
139
+ public void onLongClick (long duration ) {
140
+
141
+ }
142
+
133
143
public class SwipeStackAdapter extends BaseAdapter {
134
144
135
145
private List <String > mData ;
You can’t perform that action at this time.
0 commit comments