Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-19722] [TIMOB-19579] (5_1_X) Android: Backport, fixes NullPointerException in TiConvert #7301

Merged
merged 1 commit into from Oct 14, 2015

Conversation

ashcoding
Copy link
Contributor

@ashcoding
Copy link
Contributor Author

Accepted

ashcoding added a commit that referenced this pull request Oct 14, 2015
[TIMOB-19722] [TIMOB-19579] (5_1_X) Android: Backport, fixes NullPointerException in TiConvert
@ashcoding ashcoding merged commit deb49b6 into tidev:5_1_X Oct 14, 2015
@ashcoding
Copy link
Contributor Author

Code for testing:

var window = Ti.UI.createWindow({backgroundColor: "white"});
var view = Ti.UI.createView({});
var view2 = Ti.UI.createView({width: 100, height: 100, backgroundColor: "yellow"});
view.add(view2);
var button = Ti.UI.createButton({title: "Hide/show view w/ circular animation"});
button.addEventListener("click", function(e) {
    if (view.visible) {
        view.hide();
    } else {
        view.show();
    }
});
window.add(view);
window.add(button);
window.open();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant