Skip to content

Releases: faberNovel/stateful-layout

Release 1.0.0

18 Jun 12:47
0d26849
Compare
Choose a tag to compare

[v1.0.0] - 18/06/2020

Changed

  • Move release logic from github workflow to fastlane

Release v1.0.0-RC05

27 May 09:34
Compare
Choose a tag to compare

[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

27 Apr 15:44
de2d789
Compare
Choose a tag to compare

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

22 Apr 16:46
ce5de15
Compare
Choose a tag to compare

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

07 Apr 16:13
Compare
Choose a tag to compare

Initial release

07 Apr 09:00
af4cbe6
Compare
Choose a tag to compare
1.0-RC01

Fix indent