当前位置:网站首页>Glide 4.6.1 API initial
Glide 4.6.1 API initial
2022-07-03 12:44:00 【liuhaha1015】
Basic use :
Glide.with(contact).load(path).into(imagview);
other api:
RequestOptions options = new RequestOptions();
options.placeholder(R.mipmap.info_2);// Specify the bitmap
options.error(R.mipmap.ic_launcher);// Specify error diagram
options.override(50,50);// Specify the width and height of the picture , Image quality will be compressed ( It's just blurred , There is no change in size ??)
options.centerCrop();// take ImageView Width and height But the narrowest one is full , Then intercept the middle display
Glide.with(contact).load(path).apply(options).into(imagview);Add animation :
Glide.with(contact).load(path).transition(GenericTransitionOptions.with(R.anim.dg_scale_in)).into(imagview);3.0 When is :
Glide
.with( context )
.load( url )
.animate( android.R.anim.slide_in_left )
.into( imageView );边栏推荐
- Everything comes to him who waits
- Official website of Unicode query
- 云计算未来 — 云原生
- Prompt unread messages and quantity before opening chat group
- Lambda表达式
- 手机号码变成空号导致亚马逊账号登陆两步验证失败的恢复网址及方法
- 257. All paths of binary tree
- 【嵌入式】---- 内存四区介绍
- [ManageEngine] the role of IP address scanning
- Differences between initial, inherit, unset, revert and all
猜你喜欢

Use Tencent cloud IOT platform to connect custom esp8266 IOT devices (realized by Tencent continuous control switch)

LeetCode 0556. Next bigger element III - end of step 4

If you can't learn, you have to learn. Jetpack compose writes an im app (II)

剑指Offer04. 二维数组中的查找【中等】

Solve the problem of VI opening files with ^m at the end

低代码平台国际化多语言(i18n)技术方案

ncnn神經網絡計算框架在香柳丁派OrangePi 3 LTS開發板中的使用介紹

Xctf mobile--app3 problem solving

Application of ncnn neural network computing framework in orange school orangepi 3 lts development board
![[ManageEngine] the role of IP address scanning](/img/dc/df353da0e93e4d936c39a39493b508.png)
[ManageEngine] the role of IP address scanning
随机推荐
剑指Offer09. 用两个栈实现队列
Kung Fu pays off, and learning is done
Xctf mobile--app2 problem solving
启用MemCached的SASL认证
2.8 overview of ViewModel knowledge
Adult adult adult
自抗扰控制器七-二阶 LADRC-PLL 结构设计
Sword finger offer07 Rebuild binary tree
Dix règles de travail
Adult adult adult
JVM memory model
4. Wireless in vivo nano network: electromagnetic propagation model and key points of sensor deployment
Low code platform international multilingual (I18N) technical solution
Exploration of sqoop1.4.4 native incremental import feature
The best shortcut is no shortcut
Nodejs+Express+MySQL实现登陆功能(含验证码)
Adult adult adult
ncnn神经网络计算框架在香橙派OrangePi 3 LTS开发板中的使用介绍
Sword finger offer10- I. Fibonacci sequence
Use Tencent cloud IOT platform to connect custom esp8266 IOT devices (realized by Tencent continuous control switch)