Skip to content

Commit ef0df10

Browse files
XiandengWangXiandengWang
authored andcommitted
feat: 导出为library
1 parent 5aeff30 commit ef0df10

File tree

35 files changed

+124
-9
lines changed

35 files changed

+124
-9
lines changed

.idea/gradle.xml

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ buildscript {
66
}
77
dependencies {
88
classpath 'com.android.tools.build:gradle:2.2.2'
9+
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
910

1011
// NOTE: Do not place your application dependencies here; they belong
1112
// in the individual module build.gradle files
File renamed without changes.

app/build.gradle renamed to demo/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ dependencies {
2525
exclude group: 'com.android.support', module: 'support-annotations'
2626
})
2727
compile 'com.android.support:appcompat-v7:24.2.0'
28-
compile 'com.android.support:recyclerview-v7:24.0.0-alpha1'
2928
testCompile 'junit:junit:4.12'
29+
compile project(path: ':swipecardrecyclerview')
3030
}

app/src/androidTest/java/com/wangxiandeng/swipecardrecyclerview/ExampleInstrumentedTest.java renamed to demo/src/androidTest/java/com/wangxiandeng/swipecardrecyclerview/ExampleInstrumentedTest.java

File renamed without changes.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.wangxiandeng.swipecardrecyclerview">
3+
package="com.wangxiandeng.demo">
44

55
<application
66
android:allowBackup="true"
77
android:icon="@mipmap/ic_launcher"
88
android:label="@string/app_name"
99
android:supportsRtl="true"
1010
android:theme="@style/AppTheme">
11-
<activity android:name=".MainActivity">
11+
<activity android:name="com.wangxiandeng.demo.MainActivity">
1212
<intent-filter>
1313
<action android:name="android.intent.action.MAIN"/>
1414

app/src/main/java/com/wangxiandeng/swipecardrecyclerview/MainActivity.java renamed to demo/src/main/java/com/wangxiandeng/demo/MainActivity.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1-
package com.wangxiandeng.swipecardrecyclerview;
1+
package com.wangxiandeng.demo;
22

33
import android.os.Bundle;
44
import android.support.v7.app.AppCompatActivity;
55
import android.widget.Toast;
66

7+
import com.wangxiandeng.swipecardrecyclerview.ItemRemovedListener;
8+
import com.wangxiandeng.swipecardrecyclerview.SwipeCardAdapter;
9+
import com.wangxiandeng.swipecardrecyclerview.SwipeCardLayoutManager;
10+
import com.wangxiandeng.swipecardrecyclerview.SwipeCardRecyclerView;
11+
712
import java.util.ArrayList;
813
import java.util.List;
914

0 commit comments

Comments
 (0)