farhan678 / adwhirl

Automatically exported from code.google.com/p/adwhirl
0 stars 0 forks source link

refreshTimer is invalidated but never reset #237

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
On iPhone SDK, when you remove an AdWhirl view from the view hierarchy the 
refreshTimer is invalidated, but it is not recreated when an ad is placed back 
into the hierarchy. It is only recreated when a new config is loaded.

What steps will reproduce the problem?
1. Place an AdWhirl view on the screen
2. Remove the AdWhirl view from the screen (note that 
AdWhirlView::willMoveToSuperview is called and invalidates the refreshTimer) 
3. Place the AdWhirl view back into a view hierarchy
4. Note that the refreshTimer is never called

What is the expected output? What do you see instead?
When the adwhirl view is placed back on the view hierarchy the refreshTimer 
should be recreated

What version of the product are you using? On what operating system?
iOS 3.0.0

Please provide any additional information below.
Google groups thread describes this issue, but I did not see this in the bug 
base: 
http://groups.google.com/group/adwhirl-users/browse_thread/thread/b143ccce8879a4
d8/47ed311ff86a8959?lnk=gst&q=refreshTimer#47ed311ff86a8959

Original issue reported on code.google.com by br...@dubane.com on 4 Jul 2011 at 1:05