【问题标题】:What is the difference between an ImageView and ImageProxy in Android Studio?Android Studio 中的 ImageView 和 ImageProxy 有什么区别?
【发布时间】:2020-09-21 22:14:59
【问题描述】:

我是 android studio 的新手,想知道是否有人可以帮我解决这个问题。非常感谢。

【问题讨论】:

  • 您的问题中没有与 Firebase 相关的内容。

标签: android


【解决方案1】:

ImageView 实际上是一个View,即:

显示图像资源,例如,Bitmap 或 Drawable 资源。 ImageView也常用到apply tints to an image和处理image scaling

ImageProxy

一个与Image有类似接口的图片代理。

除此之外,还有一个名为PlaneProxy的接口,即:

一个平面代理,其接口类似于Image.Plane

有两个完全不同的概念。 ImageProxy can be converted to a Bitmap,因为它可以从相机中捕获。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2010-10-08
    • 2021-02-23
    • 2022-01-10
    • 2020-08-18
    • 2020-04-23
    相关资源
    最近更新 更多