retryOrCancelStrategy
fun MindboxImageFailureHandler.Companion.retryOrCancelStrategy(maxAttempts: Int, delay: Long = 0): MindboxImageFailureHandler
A strategy where maxAttempts attempts will be made to load the image at delay millisecond intervals, and then if all attempts fail, the process will be canceled and the user will not see this message.
Parameters
maxAttempts
Maximum number of attempts to load an image
delay
Period in milliseconds after which the download will be retried.