diff options
| author | Teddy Wing | 2012-06-24 00:49:21 -0400 | 
|---|---|---|
| committer | Teddy Wing | 2012-06-24 00:49:21 -0400 | 
| commit | 0ff7e70b07e350ac3bb0181b0a92b0127bea2d09 (patch) | |
| tree | d56e4104ef74349a350400f006a75f528850223e /Resources/friendship/ui/ApplicationWindow.js | |
| parent | 52f4722da936cf88da6e87b48860fb98f27a1bb6 (diff) | |
| download | LikeFeed-0ff7e70b07e350ac3bb0181b0a92b0127bea2d09.tar.bz2 | |
Activity indicator: created a big activity indicator that puts itself in the middle of the screen when something's happening.
Diffstat (limited to 'Resources/friendship/ui/ApplicationWindow.js')
| -rw-r--r-- | Resources/friendship/ui/ApplicationWindow.js | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/Resources/friendship/ui/ApplicationWindow.js b/Resources/friendship/ui/ApplicationWindow.js index 5243bd3..babc43c 100644 --- a/Resources/friendship/ui/ApplicationWindow.js +++ b/Resources/friendship/ui/ApplicationWindow.js @@ -10,6 +10,10 @@  		var debug_button = Ti.UI.createButton({title: 'Debug'});  		debug_button.addEventListener('click', function(e) { +			// Show loading view +			var loading = fs.ui.createLoadingView(); +			win.add(loading); +			Ti.App.fireEvent('app:show.loader');  			Ti.API.info('Logged in: ' + JSON.stringify(Ti.Facebook.loggedIn));  			if (Ti.Facebook.loggedIn) { | 
