Skip to content

Release 0.7.0 (15)

Compare
Choose a tag to compare
@chRyNaN chRyNaN released this 29 Jan 20:37
· 60 commits to master since this release
  • Removed the direct tight-coupling between a View and a Presenter. Now, a Presenter only has an intents property instead of a view property. Even though the intents typically come from a View, this is not mandatory. This allows for better decoupling and flexibility for the components.
  • Renamed the Layout.OnLayout composable function to Layout.Content. This follows a more similar approach to function naming with Jetpack Compose and the Android community Jetpack Compose libraries.
  • Renamed the composeLayout function to ComposeLayout so that it follows the capitalization approach of Compose functions.
  • Removed overloaded composeLayout functions, to avoid confusion between the layout and new ComposeLayout functions responsibilities.
  • Replaced the Layout.presenterFactory property with Layout.presenter and created presenterFactory delegate functions. This is a more flexible approach as it allows direct instantiation of a Presenter or delegation to injection or a PresenterFactory.
  • Created more convenience Presenter constructor functions to reduce the boilerplate code needed to create a Presenter for simple use-cases.
  • Upgraded Kotlin to version 1.6.10.
  • Upgraded the compose-gradle-plugin to 1.0.1.
  • Upgraded other dependencies.