https://kotlinlang.org logo
#splitties
Title
# splitties
i

ispbox

08/12/2019, 5:39 AM
It looks like that sometimes Android Studio (3.4.2) fails to perform code analysis for files with Splitties UI. Actually it does that after reload/invalidation, but during code creation it sometimes annoys. Does someone experience the same behavior? I expect that the problem is on Kotlin compiler side, am I right?
See commented out lines with width/height. They are processed incorrectly by Android Studio, they should be all in grey.
l

louiscad

08/12/2019, 7:56 AM
It's not related to Splitties. It's just the IDE or Kotlin plugin having some issues. I'm not having particular issues in my case, it's just Kotlin code that works like the rest of the code. I'm using 3.5 (RC 3 for now).
i

ispbox

08/12/2019, 11:46 AM
Yes, I understand, that this is not because of Splitties, because finally it gets processed. Will give a try for AS 3.5 maybe next week.
l

louiscad

08/12/2019, 3:51 PM
FYI, I just encountered a preview bug regarding theme attributes (in 3.5 RC 3): https://issuetracker.google.com/issues/139252497
5 Views