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.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/Resources/friendship/ui/LikeList.js b/Resources/friendship/ui/LikeList.js
index 9ba9bd5..7b93e34 100644
--- a/Resources/friendship/ui/LikeList.js
+++ b/Resources/friendship/ui/LikeList.js
@@ -30,6 +30,14 @@
return row;
}
+ fs.ui.addItems = function( items )
+ {
+ for( item in items ){
+ Ti.API.info( item );
+ }
+
+ }
+
fs.ui.createLikeList = function() {
var ll_view = Ti.UI.createTableView();
@@ -43,6 +51,8 @@
ll_view.appendRow( create_row( 'OMG, I like totally like Skrillex.') );
ll_view.appendRow( create_row( 'Seriously, this is amazing. You totally need to party.') );
+ Ti.API.addEventListener( "processPosts", fs.ui.addItems );
+
return ll_view;
};
})();