Currently EiffelViewModel performs an equality check to determine whether the State has been updated. This may result in a performance hit for more complex states and confuse users since LiveData emits unchanged but re-set values.
Therefore the return type when invoking Update should be made nullable to indicate when no state update has been performed.
Currently
EiffelViewModel
performs an equality check to determine whether theState
has been updated. This may result in a performance hit for more complex states and confuse users sinceLiveData
emits unchanged but re-set values.Therefore the return type when invoking
Update
should be made nullable to indicate when no state update has been performed.