Ejemplo n.º 1
0
        public RssFeedDetailPage()
        {
            InitializeComponent();

            var item = new RssFeedModel
            {
                Text        = "Item 1",
                Description = "This is an item description."
            };

            viewModel      = new RssFeedDetailViewModel(item);
            BindingContext = viewModel;
        }
Ejemplo n.º 2
0
        public RssFeedDetailPage(RssFeedDetailViewModel viewModel)
        {
            InitializeComponent();

            BindingContext = this.viewModel = viewModel;
        }