开发者

preloading a dynamic classes which loads its own content

开发者 https://www.devze.com 2022-12-26 18:08 出处:网络
How d开发者_StackOverflow社区o you preload dynamic classes which loads its own content? cause theoretically speaking the classes doesn\'t have a size yet until it loads its content right?you would hav

How d开发者_StackOverflow社区o you preload dynamic classes which loads its own content? cause theoretically speaking the classes doesn't have a size yet until it loads its content right?


you would have to initialise the object, start it loading and then get the size of the file(s) from it to do a preload animation. therefore you cannot preload an uninitialised class as you dont know the size of it untill it is loading.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号