Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

Virtualview 如何结合Glide使用 #43

Closed
sun8829 opened this issue Mar 20, 2018 · 1 comment
Closed

Virtualview 如何结合Glide使用 #43

sun8829 opened this issue Mar 20, 2018 · 1 comment

Comments

@sun8829
Copy link

sun8829 commented Mar 20, 2018

Virtualview 如何结合Glide使用

@longerian
Copy link
Contributor

longerian commented Mar 20, 2018

如果使用 NImage VImage 的话,使用 ImageLoaderAdapter 封装 Glide 加载图片。 参考这里:https://github.com/alibaba/Virtualview-Android/blob/master/app/src/main/java/com/tmall/wireless/virtualviewdemo/VirtualViewApplication.java

也可以自己参考 NImage 的实现,封装一个图片控件,注册进去,我写了一篇文章介绍如何实现自定义控件:http://pingguohe.net/2018/03/20/deep-into-virtualview-android-3.html

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants