Fixed issue when bindingContext is bound more than once.

This commit is contained in:
Nedyalko Nikolov
2015-04-30 13:48:52 +03:00
parent 315959a590
commit 2e4b2eacf2
10 changed files with 136 additions and 46 deletions

View File

@@ -0,0 +1,15 @@
<Page xmlns="http://www.nativescript.org/tns.xsd"
xmlns:g="components/grid-view/grid-view"
loaded="pageLoaded">
<StackLayout id="upperStack">
<Label id="upperStackLabel" text="{{ item.Title }}" />
<StackLayout id="firstStack" bindingContext="{{ item }}" orientation="horizontal">
<Label id="labelText1" text="1" />
<Label id="label1" text="{{ Title }}" />
</StackLayout>
<StackLayout id="secondStack" bindingContext="{{ item }}" orientation="horizontal">
<Label id="labelText2" text="2" />
<Label id="label2" text="{{ Title }}" />
</StackLayout>
</StackLayout>
</Page>