Three20 - add items to launcherView after viewDidLoad
Posted
by lostInTransit
on Stack Overflow
See other posts from Stack Overflow
or by lostInTransit
Published on 2010-05-07T12:12:38Z
Indexed on
2010/05/07
12:18 UTC
Read the original article
Hit count: 412
Hi
I am getting a list of image URLs and corresponding names at run time in my app. I would like to add these images to a TTLauncherView object that I have.
Cannot add these in loadView. I am making a call to the method for getting my data in a separate thread. Once the thread completes, I add the TTLauncherItem objects to an array and set the "pages" variable of the LauncherView.
But for some reason, the view is not updated and I don't see anything on it.
Can someone please let me know how to refresh the launcherview after adding items to it in methods other than loadView?
Thanks.
© Stack Overflow or respective owner