Search code examples
javascripttitaniumtitanium-mobiletitanium-alloy

Titanium Alloy Set Visible does not always work


I frequently use the method to set the visibility

$.abort.setVisible(true);

but I have problems, not all the times it has happened, sometimes it happens that does not work is possibile? (I call in a callback that runs to the success of an http request)


Solution

  • We had the same problem, and strangely we resolved it simply switching from

    .setVisible(true); to .show();

    and

    .setVisible(false); to .hide();