@Model annotation does not make a compose function re-compose when the model is updated. This only happens when the @Model is set on a class in a different android module, once the class is moved into the same android module, the Compose function re-composes (whenever the model updates)
Android Studio Build: 4.0 Preview Version of Gradle Plugin: 4.0.0-alpha02 Version of Gradle: 5.6.1 Version of Java: 1.8 OS: 21^
Steps to Reproduce: 1. Create two modules, a library module and app module for android 2. Create a class with @Model annotation in the library module 3. Set the @Model class as a dependency for an @Compose function in the app module 4. Try updating the model's value on button click (the model updates, but the function is not re-composed)
Description
Android Studio Build: 4.0 Preview
Version of Gradle Plugin: 4.0.0-alpha02
Version of Gradle: 5.6.1
Version of Java: 1.8
OS: 21^
Steps to Reproduce:
1. Create two modules, a library module and app module for android
2. Create a class with @Model annotation in the library module
3. Set the @Model class as a dependency for an @Compose function in the app module
4. Try updating the model's value on button click (the model updates, but the function is not re-composed)