LoadImage

open class LoadImage : Job

closure to load and display the image. You can either use this class directly or create your closure from it to create special funtionality

Constructors

Link copied to clipboard
constructor(receiver: Activity, view: ImageView, uri: URI, options: Options)

Properties

Link copied to clipboard
protected val file: File
cache file where image is keept.
Link copied to clipboard
private val logger: Logger
log instance, errors logged with this logger can be intercepted by and can be reported back to the back-end or - if unexpected - will fail JUnit tests.
Link copied to clipboard
protected val options: Options
scaling and display options.
Link copied to clipboard
protected val receiver: Activity
Receiver of the work unit
Link copied to clipboard
private val TAG: String
logging tag
Link copied to clipboard
protected val uri: URI
uri to load the image from.
Link copied to clipboard
protected val view: ImageView
view into which the image should be displayed

Functions

Link copied to clipboard
protected open fun clone(): Any
Link copied to clipboard
abstract fun compareTo(p: T): Int

open fun compareTo(job: Job): Int
Default compareTo method for Jobs
Link copied to clipboard
protected open fun deliver()
Delivers the result.
Link copied to clipboard
open fun equals(obj: Any): Boolean

open fun equals(o: Any): Boolean
Compares this instance with the specified object and indicates if they are equal.
Link copied to clipboard
protected open fun finalize()
Link copied to clipboard
fun getClass(): Class<out Any>
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
fun notify()
Link copied to clipboard
fun notifyAll()
Link copied to clipboard
abstract fun run()

fun run()
helper for the runOnUiThread method of the receiver activity.
Link copied to clipboard
open fun toString(): String
open fun toString(): String
Link copied to clipboard
fun wait()
Link copied to clipboard
protected open fun work()
Performs the work operation.