Join Slack
Powered by
:wave: Does private mutable property (`private var...
# compose
h
hawklike
05/05/2023, 7:03 AM
👋 Does private mutable property (
private var
) affect class stability?
🚫 1
z
Zach Klippenstein (he/him) [MOD]
05/05/2023, 6:11 PM
I think so, yes. A private mutable field can be changed without notifying composition, so the compiler can’t guarantee the contract.
Zach Klippenstein (he/him) [MOD]
05/05/2023, 6:12 PM
The best way to be sure is to turn on compiler reports and see what the compiler thinks
Zach Klippenstein (he/him) [MOD]
05/05/2023, 6:14 PM
See
https://medium.com/androiddevelopers/jetpack-compose-stability-explained-79c10db270c8
4
Views
Open in Slack
Previous
Next