aboutsummaryrefslogtreecommitdiffstats
path: root/Resources/friendship/ui/LikeList.js
diff options
context:
space:
mode:
Diffstat (limited to 'Resources/friendship/ui/LikeList.js')
-rw-r--r--Resources/friendship/ui/LikeList.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/Resources/friendship/ui/LikeList.js b/Resources/friendship/ui/LikeList.js
index b5a5e6b..58574e3 100644
--- a/Resources/friendship/ui/LikeList.js
+++ b/Resources/friendship/ui/LikeList.js
@@ -49,10 +49,17 @@
fs.ui.createLikeList = function() {
var ll_view = Ti.UI.createTableView();
+ var loading = fs.ui.createLoadingView();
+ ll_view.add(loading);
+
+ // Ti.App.fireEvent('app:show.loader');
+
Ti.API.addEventListener("processPosts", function(d) {
for ( key in d.data ) {
ll_view.appendRow( create_row( d.data[key] ) );
}
+
+ Ti.App.fireEvent('app:hide.loader');
});
return ll_view;