using Telerik.XamarinForms.Common;

namespace ListViewTemplateCellDemo.Portable.ViewModels
{
    public class BookItemViewModel : NotifyPropertyChangedBase
    {
        private string title;
        private string author;
        private bool showDetails;

        public string Title
        {
            get { return title; }
            set { title = value; OnPropertyChanged(); }
        }

        public string Author
        {
            get { return author; }
            set { author = value; OnPropertyChanged(); }
        }

        public bool ShowDetails
        {
            get { return showDetails; }
            set { showDetails = value; OnPropertyChanged(); }
        }
    }
}
