Releases: faberNovel/stateful-layout
Releases · faberNovel/stateful-layout
Release 1.0.0
Release v1.0.0-RC05
[1.0-RC05] - 26/05/2020
Changed
- Upgrade Android Gradle Plugin to 3.6.3
- Upgrade Kotlin to 1.3.72
Added
- Add units tests in the sample app
- Run Danger to validate PR
- Add a contribution guide
- Add
showState(@IdRes id: Int, showTransitions: Boolean)
to StatefulLayout to disable transition - Stateful layouts now have a
areTransitionsEnabled
attribute to enable/disable transitions - Optional error message argument for
showError()
method.
Fixed
- Remove duplicates in view hierarchy when trying to overload an existing state
- State constructor parameters were reversed, breaking up Android Studio preview
Feminist Seahorse
v1.0-RC04
Changed
- Hide all states by default
Breaking change
- Fix typo on xml attribute defaultExitrTransition that has been renamed to defaultExitTransition
Fixed
- Fix enter/exit defaultTransition sharing the same animation instance for all the states. Switching quickly between states was resulting in animation issue.
- Fix crash when restoring a StatefulLayout that has no state
Purple pangolin
Added
- State content view can be set using a layout resource.
- The new contentLayout State's attribute allows to specify a layout to inflate.
- Documentation on public classes.
Breaking change
- Default initial state in no longer stateContent, by default no state is displayed.
Changed
- State now throws an IllegalArgumentException if multiples views are added using addView.
- DefaultTransitionListenerHandler was marked as internal
- All method in StateTransitionListener interface now have empty default implementation.
Removed
- DefaultStateTransitionListener was removed in favor of Kotlin interface default implementation in
StateTransitionListener
Fixed
- Remove launcher icons, they are leaking to project, replacing the project app icons
1.0-RC02
Initial release
1.0-RC01 Fix indent