Last active
September 4, 2015 13:31
-
-
Save falkolab/3cf53dce38a543529bf4 to your computer and use it in GitHub Desktop.
View proxy remain in memory after window closed. https://yadi.sk/i/jmtrY-I0isR3g
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exports.setMenuItemEnabled = function(menuItem, isEnabled) { | |
if(OS_ANDROID) { | |
if(Alloy.Globals.isAndroid3Plus && menuItem.actionView) { | |
menuItem.actionView.touchEnabled = isEnabled; | |
} | |
menuItem.setEnabled(isEnabled); | |
} | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exports.baseController = 'base'; | |
var args = arguments[0] || {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Alloy> | |
<Window> | |
<ActionBar id="actionBar" displayHomeAsUp="true" /> | |
<ScrollView id="formContainer" /> | |
<ActivityIndicator id="activityIndicator" /> | |
</Window> | |
</Alloy> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Alloy.createController('search/form').getView().open(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment