componentkit icon indicating copy to clipboard operation
componentkit copied to clipboard

Provide and example of embedding a collection view inside a cell

Open ocrickard opened this issue 8 years ago • 7 comments

We get requests for this fairly frequently. We should consider providing an example of how to do this correctly, possibly in the example app.

https://github.com/facebook/componentkit/issues/806

ocrickard avatar May 09 '17 13:05 ocrickard

Is there any example ?

sxgfxm avatar May 17 '17 09:05 sxgfxm

I'm still waiting for the example. Is there anyone could help ? Thanks a lot !

sxgfxm avatar Jun 13 '17 03:06 sxgfxm

Is there anyone who can tell me how to implement that ? Great thanks

sxgfxm avatar Jul 26 '17 12:07 sxgfxm

@sxgfxm I code listview 1 (ComponentKit), in listview 1 have a cell, in cell have listview 2 (ComponentKit). It work. You can use CKStatefulViewComponent create component wrap StatefulView (UICollectionView). UICollectionView in a cell (cell in a UICollectionView ComponentKit too). I'll write sample code as soon as I can. Hope it help you now. You're welcome.

@ocrickard Can I commit sample code as one sample code guideline for ComponentKit on this git ? Thanks !

tamntios avatar Jul 28 '17 15:07 tamntios

@tamntios I'm so excited that you provide an approach. I'll try today. Thank you very much !

sxgfxm avatar Jul 29 '17 02:07 sxgfxm

@tamntios I worked on CKStatefulViewComponent for a few hours. Cause there is few references, I have no idea how to exactly implement your approach. I' ll keep trying and be looking forward for your sample code. Thanks again.

sxgfxm avatar Jul 29 '17 07:07 sxgfxm

is there any example ?

Shimaa-Hassan avatar Dec 24 '17 15:12 Shimaa-Hassan