Package-level declarations
Types
Link copied to clipboard
Represents the source of an image. A source can be the local resource or a remote URI.
Link copied to clipboard
Represents an image from a local source, such as an Android resource.
Link copied to clipboard
data class RemoteImage(val uri: Uri, val placeholder: DrawableResolver? = null, val fallback: DrawableResolver? = null) : Parcelable
A data class that represents a remote image. The source uri, a placeholder to display before the download successfully completes and an fallback to display if the download fails.
Link copied to clipboard
Represents an image from a remote source, such as an URI.
Link copied to clipboard
object TtImageLoader
Facilitates downloading drawables from remote locations.
Functions
Link copied to clipboard
Attempts to load and show the content identified by uri in this ImageView. If uri's content is not loaded yet, placeholder will be shown, or the current drawable if placeholder is null
. If fallback is defined and the loading fails, fallback will be shown.