32 lines
669 B
C#
32 lines
669 B
C#
![]() |
using MobApp.Models;
|
|||
|
using MobApp.ViewModels;
|
|||
|
using MobApp.Views;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.ComponentModel;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
using Xamarin.Forms;
|
|||
|
using Xamarin.Forms.Xaml;
|
|||
|
|
|||
|
namespace MobApp.Views
|
|||
|
{
|
|||
|
public partial class ItemsPage : ContentPage
|
|||
|
{
|
|||
|
ItemsViewModel _viewModel;
|
|||
|
|
|||
|
public ItemsPage()
|
|||
|
{
|
|||
|
InitializeComponent();
|
|||
|
|
|||
|
BindingContext = _viewModel = new ItemsViewModel();
|
|||
|
}
|
|||
|
|
|||
|
protected override void OnAppearing()
|
|||
|
{
|
|||
|
base.OnAppearing();
|
|||
|
_viewModel.OnAppearing();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|