Object pooling
This question was posted in response to the following article: http://help.adobe.com/en_US/as3/mobile/WS948100b6829bd5a6-19cd3c2412513c24bce-8000.html
This question was posted in response to the following article: http://help.adobe.com/en_US/as3/mobile/WS948100b6829bd5a6-19cd3c2412513c24bce-8000.html
Is it possible to pool a complete ScreenNavigatorItem so it would result in a very cool page caching engine? What I have is:
var someDetails:ScreenNavigatorItem = new ScreenNavigatorItem(ItemDetails,,null);
this.nav.addScreen(PERSON_DETAILS,someDetails);
"someDetails" would have been pooled. This UI could have been completely reused (except the dynamic data parts)?
yes, you can use pooling with any object and advantageously use pooling with any object that's used more than once.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.