DisplaySizeResolver

class DisplaySizeResolver(context: Context) : SizeResolver

A SizeResolver that measures the size of the display.

This is used as the fallback SizeResolver for ImageRequests.

Constructors

DisplaySizeResolver
Link copied to clipboard
fun DisplaySizeResolver(context: Context)

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
size
Link copied to clipboard
open suspend override fun size(): Size

Return the Size that the image should be loaded at.

toString
Link copied to clipboard
open override fun toString(): String