文件名称:Android代码-给ImageView提供占位图(猫)的库
文件大小:1.45MB
文件格式:ZIP
更新时间:2022-08-27 19:06:12
Android代码
CatKit Android kit for cat placeholders Usage With Density-independent Pixels: CatKit.with(context) .dp(200, 200) .into(targetImageView); With Pixels: CatKit.with(context) .px(500, 300) .into(targetImageView); Memory Policy: CatKit.with(context) .dp(200, 200) .memoryPolicy(MemoryPolicy.NO_CACHE) .into(targetImageView); Install Add the dependency to your build.gradle dependencies { compile 'com.cesarferreira.catkit:catkit:0.3.0' } Con
【文件预览】:
CatKit-master
----gradlew(5KB)
----settings.gradle(37B)
----catkit()
--------src()
--------gradle.properties(57B)
--------.gitignore(7B)
--------build.gradle(1KB)
--------proguard-rules.pro(671B)
----example()
--------src()
--------.gitignore(7B)
--------build.gradle(760B)
--------proguard-rules.pro(671B)
----LICENSE(1KB)
----gradle()
--------wrapper()
----README.md(1KB)
----maven_push.gradle(2KB)
----gradlew.bat(2KB)
----gradle.properties(553B)
----.gitignore(104B)
----extras()
--------images()
----build.gradle(540B)