Skip to content

Commit bfbf3ea

Browse files
author
wangmingshuo
committed
添加资源R
1 parent 9ace4be commit bfbf3ea

5 files changed

Lines changed: 19 additions & 15 deletions

File tree

app/build.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ android {
2121
}
2222

2323
dependencies {
24-
compile fileTree(include: ['*.jar'], dir: 'libs')
25-
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
24+
implementation fileTree(include: ['*.jar'], dir: 'libs')
25+
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
2626
exclude group: 'com.android.support', module: 'support-annotations'
2727
})
28-
compile project(':library')
29-
compile 'com.android.support:appcompat-v7:27.1.1'
30-
compile 'com.android.support:recyclerview-v7:27.1.1'
31-
compile 'com.android.support:design:27.1.1'
32-
compile 'com.android.support.constraint:constraint-layout:1.1.3'
33-
testCompile 'junit:junit:4.12'
28+
testImplementation 'junit:junit:4.12'
29+
implementation 'com.android.support:appcompat-v7:27.1.1'
30+
implementation 'com.android.support:recyclerview-v7:27.1.1'
31+
implementation 'com.android.support:design:27.1.1'
32+
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
33+
implementation project(':library')
3434
}

library/build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ android {
2323
}
2424

2525
dependencies {
26-
compile fileTree(dir: 'libs', include: ['*.jar'])
27-
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
26+
implementation fileTree(dir: 'libs', include: ['*.jar'])
27+
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
2828
exclude group: 'com.android.support', module: 'support-annotations'
2929
})
30-
compile 'com.android.support:appcompat-v7:27.1.1'
31-
testCompile 'junit:junit:4.12'
32-
compile 'com.android.support:recyclerview-v7:27.1.1'
33-
compile 'com.android.support:design:27.1.1'
30+
implementation 'com.android.support:appcompat-v7:27.1.1'
31+
testImplementation 'junit:junit:4.12'
32+
implementation 'com.android.support:recyclerview-v7:27.1.1'
33+
implementation 'com.android.support:design:27.1.1'
3434

3535
}

library/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.goldenhanter.testglide.xpulltorefresh">
2+
package="com.hanter.android.xpulltorefresh">
33

44
<application android:allowBackup="true"
55
android:label="@string/app_name"

library/src/main/java/com/hanter/xpulltorefresh/FooterLoadingLayout.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
import android.widget.ProgressBar;
88
import android.widget.TextView;
99

10+
import com.hanter.android.xpulltorefresh.R;
11+
1012
/**
1113
* 类名:FooterLoadingLayout <br/>
1214
* 描述:用于上拉刷新的头部

library/src/main/java/com/hanter/xpulltorefresh/HeaderLoadingLayout.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
import android.widget.RelativeLayout;
1212
import android.widget.TextView;
1313

14+
import com.hanter.android.xpulltorefresh.R;
15+
1416
/**
1517
* 类名:HeaderLoadingLayout <br/>
1618
* 描述:下拉刷新所使用布局

0 commit comments

Comments
 (0)