I'm using Android Studio 3.5.3, kotlin plugin 1.3.61. But Android Studio doesn't see lazy function and highlight it red color.
private val fabX: Float by lazy { screenWidth - fabSize - fabMargin }
I still can build my app, but syntax highlighting is broken. Is there any way how to fix it?
Checkout this solution:
C:\Users\YOUR_USER
(Windows) or ~/
(Linux).AndroidStudio[version]
folderFollowing options did not work: * Invalidate cache and restart * Clean project * Reloading project from repo
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With