I'm playing with the new `LookaheadLayout` , and i...
# compose
a
I'm playing with the new
LookaheadLayout
, and it crashes if there is
LazyColumn
inside `LookaheadLayout`'s content:
Copy code
java.lang.IllegalStateException: subcompose can only be used inside the measure or layout blocks
Is it not supported yet, or am I doing something wrong?
s
Don't know if it is supported yet, can you file a bug against LookaheadLayout to confirm/track the issue?
a
z
I believe
LookaheadLayout
currently explicitly does not support subcomposition, but I'm not sure it's expected to crash.
d
Thanks for filing the issue. SubcomposeLayout isn't supported yet. It's mentioned in the kdoc. I'm currently working on building the support. 🙂