public ViewHistoricoComando()
        {
            InitializeComponent();

            PanelGeral.ControlTemplate = new ControlTemplate(typeof(DefaultPageTemplate));

            _viewModelHistoricoComando = new ViewModelHistoricoComando
            {
                _viewComandos = this as IViewListaComandos
            };
            _pageContent = new ListPagePadrao(_viewModelHistoricoComando);

            PanelGeral.Content  = _pageContent;
            this.BindingContext = _viewModelHistoricoComando;

            _pageContent.ListComandos.ItemTemplate = new DataTemplate(() =>
            {
                return(new ListComandos_ViewCell(_pageContent));
            });

            _pageContent.ListComandos.IsPullToRefreshEnabled = true;

            PainelTopLoad.ShowAlert();

            _pageContent.ListComandos.ItemTapped += ListComandos_ItemTapped;
            CreateButtonMore();
        }
        public ListComandos_ViewCell(
            Object paramContext)
            : base(Color.White)
        {
            _viewHistoricoComando = new ViewModelHistoricoComando();

            this._messageService =
                DependencyService.Get <IMessageService>();
        }