set Optional Card Image
fun setOptionalCardImage(imageView: ImageView?, cardAspectRatio: Float, cardImageUrl: String?, cardAltImageText: String?, card: Card)
Sets the card's image to a given url. The view may be null.
Parameters
image View
The ImageView
card Aspect Ratio
The aspect ratio as set by the card itself
card Image Url
The image url
card Alt Image Text
The image content description text to be announced by TalkBack
card
The card being rendered