﻿using Jbe.NewsReader.Applications.ViewModels;
using Jbe.NewsReader.Applications.Views;

namespace Jbe.NewsReader.Presentation.DesignData
{
    public class SampleFeedItemListViewModel : FeedItemListViewModel
    {
        public SampleFeedItemListViewModel() : base(new MockFeedItemListView(), null)
        {
        }


        private class MockFeedItemListView : IFeedItemListView
        {
            public object DataContext { get; set; }
        }
    }
}

﻿using Jbe.NewsReader.Applications.ViewModels;
using Jbe.NewsReader.Applications.Views;

namespace Jbe.NewsReader.Presentation.DesignData
{
    public class SampleFeedItemListViewModel : FeedItemListViewModel
    {
        public SampleFeedItemListViewModel() : base(new MockFeedItemListView(), null)
        {
            // Note: Design time data does not work with {x:Bind}
        }


        private class MockFeedItemListView : IFeedItemListView
        {
            public object DataContext { get; set; }
        }
    }
}

Add comment that design time data does not work with {x:Bind}
Add comment that design time data does not work with {x:Bind}
