UnlessIdentical
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.
Attributes
- Graph
-
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait RefreshPolicyclass Objecttrait Matchableclass AnyShow all
- Self type
-
UnlessIdentical.type
Members list
Value members
Concrete methods
Returns true if given two objects aren’t equal (!=).
Returns true if given two objects aren’t equal (!=).
Parameters
- from
-
the model object at the previous update
- to
-
the current model object (possibly the same object; possibly identical)
Attributes
Inherited methods
Creates a new instance of type T with elements taken from product p.
Creates a new instance of type T with elements taken from product p.
Attributes
- Inherited from:
- Singleton
An iterator over the names of all the elements of this product.
An iterator over all the elements of this product.
An iterator over all the elements of this product.
Attributes
- Returns
-
in the default implementation, an
Iterator[Any] - Inherited from:
- Product
