You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.