0

I want to find out the id of currently visible in Titanium Android Alloy App using index.js controller.

How can I do so? I tried the below code in index.js, but its throwing error.

console.log(mainwin.view.id);
Molly
  • 35
  • 6

1 Answers1

0

try something like this:

mainwin.getView().id
WeMakeSoftware
  • 9,039
  • 5
  • 34
  • 52