Navigation problem on tabview

nativescriptrocks
nativescriptcore
plugins

#1

in below code sample estimate.xml has a tabview in it.

how to navigate to tabview 1 in this ???

i dont want to set selected Index value on onload function or on observable object. coz im getting undesirable situations. all i just want to navigate to tabview with selectedindex 1 …

frameModule.topmost().navigate({
moduleName: “views/home/estimate/estimate”,
backstackVisible: false,
animated: true,
transition: {
name: “slide”,
duration: 500,
curve: “easeOut”
}
});


#2

Active tab can be set only through selected index.

If you are asking about navigating within tab, you have to add a frame inside tab and get the frame by id and call navigate in it.