public GeneratorHistoryPage()
 {
     InitializeComponent();
     SetActivityIndicator();
     _vm      = BindingContext as GeneratorHistoryPageViewModel;
     _vm.Page = this;
 }
 public GeneratorHistoryPage()
 {
     InitializeComponent();
     SetActivityIndicator();
     _vm      = BindingContext as GeneratorHistoryPageViewModel;
     _vm.Page = this;
     if (Device.RuntimePlatform == Device.iOS)
     {
         ToolbarItems.Add(_closeItem);
         ToolbarItems.Add(_moreItem);
     }
     else
     {
         ToolbarItems.Add(_clearItem);
     }
 }