DefaultImageLoader

constructor(context: Context?)

Parameters

context

the Context from which to load the image resources


actual constructor()

Default implementation of an ImageLoader.

expect constructor()
constructor(bundle: NSBundle, traitCollection: UITraitCollection?)

Parameters

bundle

the NSBundle from which to load the image resource

traitCollection

The UITraitCollection associated with the intended environment for the image. Use this parameter to ensure that the system loads the correct variant of the image. If you specify null, this method uses the traits associated with the main screen.


actual constructor()

Default implementation of an ImageLoader.