RefreshPolicy

This companion object provides predefines instances of class RefreshPolicy.

Note to students: You’re unlikely to need this for anything in O1.

Companion:
class
class Object
trait Matchable
class Any

Type members

Classlikes

case object Always extends RefreshPolicy

The RefreshPolicy of seeking to update the image visible in a View as often as possible. (Time-consuming but always safe.)

The RefreshPolicy of seeking to update the image visible in a View as often as possible. (Time-consuming but always safe.)

Note to students: You’re unlikely to need this for anything in O1.

case object UnlessIdentical extends RefreshPolicy

The RefreshPolicy of seeking to update the image visible in a View only when the current model object is non-identical in terms of equals than the previous one shown.

The RefreshPolicy of seeking to update the image visible in a View only when the current model object is non-identical in terms of equals than the previous one shown.

Note to students: You’re unlikely to need this for anything in O1.

The RefreshPolicy of seeking to update the image visible in a View only when the current model object is different in identity than the previous one shown.

The RefreshPolicy of seeking to update the image visible in a View only when the current model object is different in identity than the previous one shown.

Note to students: You’re unlikely to need this for anything in O1.