loadToViewFromLocalWithRetry

abstract suspend fun loadToViewFromLocalWithRetry(tabId: String? = null, url: String, view: ImageView, placeholder: String? = null)

Loads a favicon from local disk into the given ImageView, retrying up to 3 times with a delay if the favicon is not yet cached. Cancelling the coroutine cancels pending retries immediately.

Parameters

tabId

the tab ID to look up the favicon for, or null to skip the temp directory lookup

url

the URL whose domain is used to locate the cached favicon

view

the ImageView to load the favicon into

placeholder

optional text used to generate a placeholder drawable if the favicon is not found