Texture icon indicating copy to clipboard operation
Texture copied to clipboard

automaticallyManagesSubnodes leads to subnode not call didEnterPreloadState

Open junjielu opened this issue 7 years ago • 5 comments

Please see demo project: https://github.com/junjielu/InterfaceStateTest

The cell nodes interface state is just as image below: untitled diagram

In the demo, we use automaticallyManagesSubnodes to manage subnode. After load, We can check the logs that the first cell node called didEnterVisibleState, the second called didEnterDisplayState and the third called didEnterPreloadState. However, as subnode of the third cell node, the RGTextNode not call didEnterPreloadState, which seems really weird.And if I manually insert text node as subnode in cell node, the text node will call didEnterPreloadState.

Need help for this issue~ @nguyenhuy @appleguy

junjielu avatar Aug 03 '18 11:08 junjielu

Need help~

junjielu avatar Aug 13 '18 03:08 junjielu

I have the same issue... sometimes didEnterPreloadState isn't called

mycroftcanner avatar Dec 16 '19 12:12 mycroftcanner

??

mycroftcanner avatar Mar 27 '21 19:03 mycroftcanner

I have the same problem if the data source has only one item

mycroftcanner avatar Mar 27 '21 19:03 mycroftcanner

I have the same problem if the data source has only one item

I do think this is a INACTIVE project, need workaround.

junjielu avatar Mar 31 '21 09:03 junjielu