Hello all.
I want to navigate to next view while clicking a standard tile.i have return all the code but its not working.please help me with it.my code is as below
first view
<TileContainer
id="container"
tileDelete="handleTileDelete">
<StandardTile
icon="sap-icon://customer"
press = "Onpress"
number="08"
title="Customer Details"
numberUnit="Celcius"
info="Cloudy"
infoState="Success" />
first viewcontroller
OnPress : function (evt) {
var context = evt.getSource().getBindingContext();
app.to(page1, context);
},
second view
<Page
filltype="Solid" color="black" opacity="0.5"
showHeader="false"
enableScrolling="false" >
<l:VerticalLayout
class="marginVerticalContent"
>
<l:content>
<HBox>
<Image
src="view/high-definition-wallpaper-3-798x350.jpg"
>
<layoutData>
<FlexItemData growFactor="1" />
</layoutData>
</Image>
</HBox>
</l:content>
</l:VerticalLayout>
</Page>
</core:View>