Skip to Content

How to get view elements from another view controller

Hi I have a IconTabBar defined with many steps in a view , lets say App.view.xml

Each step of the TabBar displays some content defined in their own respective view

How do I get access to the IcontabBar from another view lets say S1. Clicking on a tile in S1 view should take to the Step 2 of the IconTab Bar

On click of the tile, it should navigate to Step 2.

Thanks

Sandip

Image 17.jpg (42.5 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Apr 04, 2016 at 08:28 AM

    Hi,


    Use "this.getView().byId()", which allows you to use the id you specified on the XML or HTML.


    Regards,

    Pradeep.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 04, 2016 at 01:23 PM

    is the information you are trying to access bindable? if yes, you can put them in model,which can be access across the views.

    Add comment
    10|10000 characters needed characters exceeded