You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
816 B

1 year ago
  1. using GMCabsDriverAssistantSolution.ViewModels;
  2. namespace GMCabsDriverAssistantSolution.Views;
  3. [XamlCompilation(XamlCompilationOptions.Compile)]
  4. public partial class CouponsPage : ContentPage
  5. {
  6. #region Fields
  7. private readonly CouponsViewModel _viewModel;
  8. #endregion
  9. #region Properties
  10. #endregion
  11. #region Constructor
  12. [Obsolete]
  13. public CouponsPage()
  14. {
  15. InitializeComponent();
  16. BindingContext = _viewModel = new CouponsViewModel();
  17. }
  18. #endregion
  19. #region Methods
  20. protected override void OnAppearing()
  21. {
  22. base.OnAppearing();
  23. _viewModel.OnAppearing();
  24. }
  25. private async void OnCouponHistoryViewClicked(object sender, EventArgs e)
  26. {
  27. //await Navigation.PushAsync(new CouponHistoryPage(), true);
  28. }
  29. #endregion
  30. }