Skip to content

Releases: etiennelenhart/Eiffel

1.2.1

20 Dec 10:25
699b263
Compare
Choose a tag to compare

Fixes

  • Factory wasn't used in delegated property for a shared ViewModel

1.2.0

20 Dec 09:26
ec4919d
Compare
Choose a tag to compare

Notes

  • Delegated property for a shared ViewModel with a ViewModelProvider.Factory

Changes

  • Convenience extension functions providing a ViewModel now use overloads which may take a ViewModelProvider.Factory

1.1.0

19 Dec 10:39
ae1c647
Compare
Choose a tag to compare

Notes

This update includes convenience delegated properties.

  • Lazy delegate to bind a layout and set it as an Activity's content view
  • Lazy delegate providing a ViewModel in an Activity or Fragment
  • Using a default ViewModelProvider
    • Using a provider with a ViewModelProvider.Factory
    • Providing a shared ViewModel to Fragments by using their Activity as key
  • Delegate to notify data binding in a BaseObservable

1.0.0

12 Dec 09:38
5009402
Compare
Choose a tag to compare

Features

  • Resource class to associate status to a LiveData value
  • Stateful results for business logic commands
  • Extended ViewModel with support for immutable view states
  • Supporting classes and types for immutable view states
  • Simple interface to adapt immutable states for data binding