renderUrlIntoInAppMessageView
open override fun renderUrlIntoInAppMessageView( context: Context, inAppMessage: IInAppMessage, imageUrl: String, imageView: ImageView, viewBounds: BrazeViewBounds?)
Renders the image for an IInAppMessage at the imageUrl into the ImageView. If the image's bitmap is not already cached, the bitmap should be retrieved directly from the URL and the bitmap will be cached.
This method may be called from the UI thread.
Parameters
context
The application context.
inAppMessage
The IInAppMessage this image is being rendered for.
imageUrl
The url of the image to be rendered into the imageView.
imageView
The imageView object that will contain the image.
viewBounds
The bounds for the destination view. If null, no remote bitmap sampling will occur.