Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Is ViewLoader already loaded?

    Is there a way to tell if the viewloader is already loaded? I observe the
    "viewLoaded" method to see when its done, but if try observing the event when the loader has already been loaded, it doesn't fire. Is there a way for me to know if the loader is already finished before I try to attach an observer? That way I could use manually launch my logic rather than trying to set up an observer.


    Basically I have a group of viewloaders, each in individual tabs.

    When you load a viewloader some logic is supposed to be executed.

    When you first go to one it works fine via observing the viewLoaded method

    But if you change tabs and then go back to the original viewloader that event doesn't fire because the viewloader still exists.

    Is there a test to see if it has already been loaded?

    Thanks

    #2
    viewLoader.getView() would be non-null.

    Comment


      #3
      That worked thank you

      Comment

      Working...
      X