I want to call a second View via the Targets function in my Detail View and also pass Data throught the first to the second View.
onListItemPressed: function(evt){
var id = evt.getSource().getBindingContext().getProperty("PoNumber");
this.getOwnerComponent().getTargets().display("MaterialDetailView", {
data: id
});
}
This works fine.
But I don't know how to get the passed Data in the second view and bind the data to the View. I can only find how to do it with a Route but I want to stick with the Target.
Any sugesstions?