Skip to content

Commit 325cb0d

Browse files
authored
Create README.md
Init Commit
1 parent 7b26db6 commit 325cb0d

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# AndroidUIImageView
2+
重写ImageView,防止内存溢出(oom),图片不压缩。Android新手看这里~~
3+
4+
## 如何导入?
5+
6+
* Android Studio
7+
8+
allprojects {
9+
repositories {
10+
...
11+
maven { url 'https://jitpack.io' }
12+
}
13+
}
14+
15+
dependencies {
16+
compile 'com.github.shuhaoSCode:AndroidUIImageView:-SNAPSHOT'
17+
}
18+
19+
20+
* eclipse。。。请自行copy class。
21+
22+
## 如何使用?
23+
<com.shuhao.uiimageview.UIImageView
24+
android:layout_width="wrap_content"
25+
android:layout_height="wrap_content"
26+
android:src="@mipmap/ic_launcher"/>
27+
28+
简单粗暴有木有,直接做ImageView就行。原来OOM的项目现在完美运行~
29+
30+

0 commit comments

Comments
 (0)