using inutralia.Models;
using inutralia.ViewModels;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;

namespace inutralia.Views.Question
{
    [XamlCompilation(XamlCompilationOptions.Compile)]
    public partial class PendingReadView : ContentPage
    {
        protected PendingReadViewModel ViewModel => BindingContext as PendingReadViewModel;

        public QuestionSpecialist QuestionSpecialist { private set; get; }

        public PendingReadView()
        {
            InitializeComponent();
            BindingContext = new PendingReadViewModel();
        }

        protected void ItemTapped(object sender, ItemTappedEventArgs e)
        {
            ((ListView)sender).SelectedItem = null;
        }
    }
}