private async void LoadHowSwitchingWorksList()
        {
            try
            {
                if (!CrossConnectivity.Current.IsConnected)
                {
                    await DisplayAlert("", "No Network Connection", "(X)");
                }
                else
                {
                    XFActivityIndicator.IsVisible = true;
                    _objHowSwitchingWorksResponse = await _apiService.GetAsyncData_GetApi(new Get_API_Url().CommonBaseApi(_baseUrl), false, new HeaderModel(), _objHowSwitchingWorksResponse);

                    var result = _objHowSwitchingWorksResponse.response;
                    if (result.statusCode == 200)
                    {
                        // await DisplayAlert("Alert", "Sucess", "Ok");
                        this.BindingContext           = result;
                        XFActivityIndicator.IsVisible = false;
                    }
                    else
                    {
                        await DisplayAlert("", "No Data is Available", "(X)");

                        XFActivityIndicator.IsVisible = false;
                    }
                }
            }
            catch (Exception ex)
            {
                var msg = ex.Message;
                XFActivityIndicator.IsVisible = false;
            }
        }
 public HowSwitchingWorksPage()
 {
     InitializeComponent();
     _objHowSwitchingWorksResponse = new HowSwitchingWorksResponse();
     _apiService = new RestApi();
     _baseUrl    = Domain.Url + Domain.HowSwitchingWorksApiConstant;
     LoadHowSwitchingWorksList();
 }