File tree 5 files changed +18
-5
lines changed
java/com/chinalwb/are/demo
5 files changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ android {
19
19
dependencies {
20
20
implementation ' com.android.support.constraint:constraint-layout:1.0.2'
21
21
implementation ' com.android.support:design:27.1.0'
22
- compile ' com.android.support:appcompat-v7:27.1.0'
22
+ implementation ' com.android.support:appcompat-v7:27.1.0'
23
23
implementation project(' :are' )
24
- // implementation 'com.github.bumptech.glide:glide:4.3.1 '
25
- // implementation 'com.github.chinalwb:are:0.1.2 '
24
+ implementation ' com.github.bumptech.glide:glide:4.3.0 '
25
+ // implementation 'com.github.chinalwb:are:0.1.3 '
26
26
}
Original file line number Diff line number Diff line change 5
5
import android .os .Bundle ;
6
6
import android .view .View ;
7
7
import android .widget .Button ;
8
+ import android .widget .ImageView ;
9
+
10
+ import com .chinalwb .are .glidesupport .GlideApp ;
8
11
9
12
public class IndexActivity extends AppCompatActivity {
10
13
@@ -14,6 +17,10 @@ protected void onCreate(Bundle savedInstanceState) {
14
17
setContentView (R .layout .activity_index );
15
18
16
19
initViews ();
20
+
21
+ ImageView imageView = (ImageView ) findViewById (R .id .image );
22
+
23
+ GlideApp .with (this ).load ("http://a.hiphotos.baidu.com/image/h%3D300/sign=b18b23079522720e64cee4fa4bca0a3a/4a36acaf2edda3ccc4a53e450ce93901213f9216.jpg" ).into (imageView );
17
24
}
18
25
19
26
private void initViews () {
Original file line number Diff line number Diff line change 50
50
android : textAllCaps =" false"
51
51
android : text =" AREditor Min Hide" />
52
52
53
+ <ImageView
54
+ android : id =" @+id/image"
55
+ android : layout_width =" 300dp"
56
+ android : layout_height =" 300dp"
57
+ android : background =" @color/colorAccent" />
58
+
53
59
54
60
</LinearLayout >
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ apply plugin: 'com.android.library'
3
3
ext {
4
4
PUBLISH_GROUP_ID = ' com.github.chinalwb'
5
5
PUBLISH_ARTIFACT_ID = ' are'
6
- PUBLISH_VERSION = ' 0.1.3 '
6
+ PUBLISH_VERSION = ' 0.1.4 '
7
7
}
8
8
9
9
@@ -54,5 +54,5 @@ dependencies {
54
54
annotationProcessor ' com.github.bumptech.glide:compiler:4.3.1'
55
55
}
56
56
57
- // apply from: 'https://raw.githubusercontent.com/blundell/release-android-library/master/android-release-aar.gradle'
57
+ apply from : ' https://raw.githubusercontent.com/blundell/release-android-library/master/android-release-aar.gradle'
58
58
// ./gradlew clean build generateRelease
You can’t perform that action at this time.
0 commit comments