Can we inflate a ComposeView as an item for SwiftUI List?
If yes, can you please point me to some documentation or a sample?
c
CLOVIS
05/05/2025, 3:18 PM
You'll probably get more answers in #C0346LWVBJ4 or #C9JM6Q2UX
thank you color 1
p
Pavel Lahoda
05/06/2025, 1:55 PM
Sure you can, but you need to wrap the item for your list as UIKit view and then put your compose view in it. Which part are you struggling with?
m
Madhur
05/07/2025, 6:51 AM
I was able to wrap my ComposeView into ComposeUIViewController but then I am not able to use it in LazyVStack.
I had to use it in VStack which is not the right thing to do for long list with dynamic data.