File tree Expand file tree Collapse file tree
src/main/java/link/fls/swipestacksample Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33buildscript {
44 repositories {
55 jcenter()
6+ maven {
7+ url ' https://maven.google.com/'
8+ name ' Google'
9+ }
610 }
711 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 '
1014 }
1115}
1216
1317allprojects {
1418 repositories {
1519 jcenter()
20+ maven {
21+ url ' https://maven.google.com/'
22+ name ' Google'
23+ }
1624 }
1725}
1826
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
22distributionBase =GRADLE_USER_HOME
33distributionPath =wrapper/dists
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =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"
55def final int VERSION_CODE = 30
66
77android {
8- compileSdkVersion 25
9- buildToolsVersion " 25 .0.0 "
8+ compileSdkVersion 27
9+ buildToolsVersion " 27 .0.1 "
1010
1111 defaultConfig {
1212 minSdkVersion 16
13- targetSdkVersion 23
13+ targetSdkVersion 27
1414 versionCode VERSION_CODE
1515 versionName VERSION_NAME
1616 }
@@ -25,7 +25,7 @@ android {
2525dependencies {
2626 compile fileTree(dir : ' libs' , include : [' *.jar' ])
2727 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 '
2929}
3030
3131publish {
Original file line number Diff line number Diff line change 11apply plugin : ' com.android.application'
22
33android {
4- compileSdkVersion 23
5- buildToolsVersion " 23 .0.2 "
4+ compileSdkVersion 27
5+ buildToolsVersion " 27 .0.1 "
66
77 defaultConfig {
88 applicationId " link.fls.swipestacksample"
99 minSdkVersion 16
10- targetSdkVersion 23
10+ targetSdkVersion 27
1111 versionCode 1
1212 versionName " 1.0"
1313 }
@@ -23,7 +23,7 @@ dependencies {
2323 compile fileTree(dir : ' libs' , include : [' *.jar' ])
2424 testCompile ' junit:junit:4.12'
2525 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 '
2929}
Original file line number Diff line number Diff line change @@ -130,6 +130,16 @@ public void onStackEmpty() {
130130 Toast .makeText (this , R .string .stack_empty , Toast .LENGTH_SHORT ).show ();
131131 }
132132
133+ @ Override
134+ public void onClick () {
135+
136+ }
137+
138+ @ Override
139+ public void onLongClick (long duration ) {
140+
141+ }
142+
133143 public class SwipeStackAdapter extends BaseAdapter {
134144
135145 private List <String > mData ;
You can’t perform that action at this time.
0 commit comments