Home Game Development Add and take away node trigger efficiency challenge in Android – Cocos Creator

Add and take away node trigger efficiency challenge in Android – Cocos Creator

0
Add and take away node trigger efficiency challenge in Android – Cocos Creator

[ad_1]

Hi everybody.
Default scroll view with a variety of youngsters (for instance, I’ve 1000 objects within the array) makes dangerous efficiency.
So, I implement recycle listview will pool ( like android record view with adapter), each scroll, i’ll take away node that’s exterior guardian node and fill a node to clean. In iOS and net, the efficiency is nice, however in Android, fps drop down from 59,60 to 35 when scrolling.
Please assist me repair this downside.

1 Like

If you publish your recycle listview within the discussion board, individuals who see it will likely be pleased that can assist you out.

Thank for reply, right here is my instance:

NewProject_2.zip (2.2 MB)

And right here is display screen file:

As you’ll be able to see, i solely add and take away node when scrolling, it means, i don’t replace any youngster view, however the fps nonetheless dropdown.
I check in my android POCO C40, it not good machine, however it’s nonetheless horrible efficiency.

Does anybody should face this downside?

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here