<Page xmlns="http://schemas.nativescript.org/tns.xsd" navigatedTo="onNavigatedTo">
  <StackLayout>
    <TextField text="1" loaded="onTextFieldLoaded"/>
    <Button text="Bind" tap="onBind"/>
    <Button text="Add" tap="onAdd"/>
    <Button text="Remove" tap="onRemove"/>
    <Button text="Refresh" tap="onRefresh"/>
    <Button text="Navigate" tap="onNavigate"/>
    <ListView loaded="onListViewLoaded" unloaded="onListViewUnloaded">
      <ListView.itemTemplate>
        <Label text="{{ $value }}" id="label" loaded="onViewLoaded" unloaded="onViewUnloaded" />
      </ListView.itemTemplate>
    </ListView>
  </StackLayout>
</Page>
