FaviconManager
interface FaviconManager
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Generates a drawable which can be used as a placeholder for a favicon when a real one cannot be found
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract suspend fun loadToViewFromLocalWithPlaceholder(tabId: String? = null, url: String, view: ImageView, placeholder: String? = null)
Link copied to clipboard
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.
Link copied to clipboard
abstract suspend fun loadToViewMaybeFromRemoteWithPlaceholder(url: String, view: ImageView, placeholder: String? = null)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard