UnlessIdentical

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.

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

trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
class Object
trait Matchable
class Any
Inherited

Type members

Value members

Concrete methods

Returns true if given two objects aren’t equal (!=).

Returns true if given two objects aren’t equal (!=).

Value parameters:
from

the model object at the previous update

to

the current model object (possibly the same object; possibly identical)