retryOrDefaultStrategy
fun MindboxImageFailureHandler.Companion.retryOrDefaultStrategy(maxAttempts: Int, delay: Long = 0, defaultImage: Bitmap? = null): MindboxImageFailureHandler
A strategy where maxAttempts attempts will be made to load an image at intervals of delay milliseconds, and then, if all attempts fail, a message with the defaultImage will be displayed to the user
Parameters
maxAttempts
Maximum number of attempts to load an image
delay
Period in milliseconds after which the download will be retried.
defaultImage
Optional image