private void DestroyBasic()
 {
     try
     {
         ImageUser       = null !;
         ImageFunding    = null !;
         IconBack        = null !;
         TxtUsername     = null !;
         TxtTime         = null !;
         TxtTitle        = null !;
         TxtDescription  = null !;
         TxtFundRaise    = null !;
         TxtFundAmount   = null !;
         TxtDonation     = null !;
         BtnDonate       = null !;
         BtnShare        = null !;
         BtnContact      = null !;
         ProgressBar     = null !;
         TxtMore         = null !;
         InitRazorPay    = null !;
         PayStackPayment = null !;
         CashFreePayment = null !;
         PaySeraPayment  = null !;
     }
     catch (Exception e)
     {
         Methods.DisplayReportResultTrack(e);
     }
 }
Example #2
0
 private void DestroyBasic()
 {
     try
     {
         MainRecyclerView       = null !;
         MainPlansRecyclerView  = null !;
         LayoutManagerView      = null !;
         PlansLayoutManagerView = null !;
         FeaturesAdapter        = null !;
         PlansAdapter           = null !;
         InitPayPalPayment      = null !;
         InitRazorPay           = null !;
         PayStackPayment        = null !;
         PayStackPayment        = null !;
         BillingPayment         = null !;
         IconClose      = null !;
         PayId          = null !;
         Price          = null !;
         PayType        = null !;
         ItemUpgrade    = null !;
         PaySeraPayment = null !;
     }
     catch (Exception e)
     {
         Methods.DisplayReportResultTrack(e);
     }
 }
Example #3
0
        private void InitBuy()
        {
            try
            {
                if (AppSettings.ShowPaypal)
                {
                    InitPayPalPayment = new InitPayPalPayment(Activity);
                }

                if (AppSettings.ShowRazorPay)
                {
                    InitRazorPay = new InitRazorPayPayment(Activity);
                }

                if (AppSettings.ShowPayStack)
                {
                    PayStackPayment = new InitPayStackPayment(Activity);
                }

                if (AppSettings.ShowCashFree)
                {
                    CashFreePayment = new InitCashFreePayment(Activity);
                }

                if (AppSettings.ShowPaySera)
                {
                    PaySeraPayment = new InitPaySeraPayment(Activity);
                }
            }
            catch (Exception e)
            {
                Methods.DisplayReportResultTrack(e);
            }
        }
        protected override void OnCreate(Bundle savedInstanceState)
        {
            try
            {
                base.OnCreate(savedInstanceState);
                SetTheme(AppSettings.SetTabDarkTheme ? Resource.Style.MyTheme_Dark_Base : Resource.Style.MyTheme_Base);

                Methods.App.FullScreenApp(this);

                // Create your application here
                SetContentView(Resource.Layout.FundingViewLayout);

                if (AppSettings.ShowInAppBilling && Client.IsExtended)
                {
                    BillingPayment = new InitInAppBillingPayment(this);
                }

                if (AppSettings.ShowPaypal)
                {
                    InitPayPalPayment = new InitPayPalPayment(this);
                }

                if (AppSettings.ShowRazorPay)
                {
                    InitRazorPay = new InitRazorPayPayment(this);
                }

                if (AppSettings.ShowPayStack)
                {
                    PayStackPayment = new InitPayStackPayment(this);
                }

                if (AppSettings.ShowCashFree)
                {
                    CashFreePayment = new InitCashFreePayment(this);
                }

                if (AppSettings.ShowPaySera)
                {
                    PaySeraPayment = new InitPaySeraPayment(this);
                }

                //Get Value And Set Toolbar
                InitComponent();
                InitToolbar();

                GetDataFunding();
            }
            catch (Exception e)
            {
                Methods.DisplayReportResultTrack(e);
            }
        }
        private void InitComponent(View view)
        {
            try
            {
                TxtMyBalance = view.FindViewById <TextView>(Resource.Id.myBalance);

                IconAmount  = view.FindViewById <TextView>(Resource.Id.IconAmount);
                TxtAmount   = view.FindViewById <EditText>(Resource.Id.AmountEditText);
                BtnContinue = view.FindViewById <Button>(Resource.Id.ContinueButton);

                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeRegular, IconAmount, FontAwesomeIcon.MoneyBillWave);

                Methods.SetColorEditText(TxtAmount, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);

                if (AppSettings.ShowPaypal)
                {
                    InitPayPalPayment = new InitPayPalPayment(Activity);
                }

                if (AppSettings.ShowRazorPay)
                {
                    InitRazorPay = new InitRazorPayPayment(Activity);
                }

                if (AppSettings.ShowPayStack)
                {
                    PayStackPayment = new InitPayStackPayment(Activity);
                }

                if (AppSettings.ShowCashFree)
                {
                    CashFreePayment = new InitCashFreePayment(Activity);
                }

                if (AppSettings.ShowPaySera)
                {
                    PaySeraPayment = new InitPaySeraPayment(Activity);
                }

                var userData = ListUtils.MyProfileList.FirstOrDefault();
                if (userData != null)
                {
                    TxtMyBalance.Text = userData.Wallet;
                }
            }
            catch (Exception e)
            {
                Methods.DisplayReportResultTrack(e);
            }
        }
Example #6
0
        private void InitBuy()
        {
            try
            {
                BillingPayment = AppSettings.ShowInAppBilling switch
                {
                    true when Client.IsExtended => new InitInAppBillingPayment(this),
                    _ => BillingPayment
                };

                InitPayPalPayment = AppSettings.ShowPaypal switch
                {
                    true => new InitPayPalPayment(this),
                    _ => InitPayPalPayment
                };

                InitRazorPay = AppSettings.ShowRazorPay switch
                {
                    true => new InitRazorPayPayment(this),
                    _ => InitRazorPay
                };

                PayStackPayment = AppSettings.ShowPayStack switch
                {
                    true => new InitPayStackPayment(this),
                    _ => PayStackPayment
                };

                CashFreePayment = AppSettings.ShowCashFree switch
                {
                    true => new InitCashFreePayment(this),
                    _ => CashFreePayment
                };

                PaySeraPayment = AppSettings.ShowPaySera switch
                {
                    true => new InitPaySeraPayment(this),
                    _ => PaySeraPayment
                };
            }
            catch (Exception e)
            {
                Methods.DisplayReportResultTrack(e);
            }
        }
        private void InitComponent()
        {
            try
            {
                MainRecyclerView      = FindViewById <RecyclerView>(Resource.Id.recycler);
                MainPlansRecyclerView = FindViewById <RecyclerView>(Resource.Id.recycler2);
                IconClose             = FindViewById <ImageView>(Resource.Id.iv1);

                if (AppSettings.ShowInAppBilling && Client.IsExtended)
                {
                    BillingPayment = new InitInAppBillingPayment(this);
                }

                if (AppSettings.ShowPaypal)
                {
                    InitPayPalPayment = new InitPayPalPayment(this);
                }

                if (AppSettings.ShowRazorPay)
                {
                    InitRazorPay = new InitRazorPayPayment(this);
                }

                if (AppSettings.ShowPayStack)
                {
                    PayStackPayment = new InitPayStackPayment(this);
                }

                if (AppSettings.ShowCashFree)
                {
                    CashFreePayment = new InitCashFreePayment(this);
                }

                if (AppSettings.ShowPaySera)
                {
                    PaySeraPayment = new InitPaySeraPayment(this);
                }
            }
            catch (Exception e)
            {
                Methods.DisplayReportResultTrack(e);
            }
        }
Example #8
0
        private void InitBuy()
        {
            try
            {
                if (AppSettings.ShowInAppBilling && Client.IsExtended)
                {
                    BillingPayment = new InitInAppBillingPayment(this);
                }

                if (AppSettings.ShowPaypal)
                {
                    InitPayPalPayment = new InitPayPalPayment(this);
                }

                if (AppSettings.ShowRazorPay)
                {
                    InitRazorPay = new InitRazorPayPayment(this);
                }

                if (AppSettings.ShowPayStack)
                {
                    PayStackPayment = new InitPayStackPayment(this);
                }

                if (AppSettings.ShowCashFree)
                {
                    CashFreePayment = new InitCashFreePayment(this);
                }

                if (AppSettings.ShowPaySera)
                {
                    PaySeraPayment = new InitPaySeraPayment(this);
                }
            }
            catch (Exception e)
            {
                Methods.DisplayReportResultTrack(e);
            }
        }
Example #9
0
        private void InitBuy()
        {
            try
            {
                InitPayPalPayment = AppSettings.ShowPaypal switch
                {
                    true => new InitPayPalPayment(Activity),
                    _ => InitPayPalPayment
                };

                InitRazorPay = AppSettings.ShowRazorPay switch
                {
                    true => new InitRazorPayPayment(Activity),
                    _ => InitRazorPay
                };

                PayStackPayment = AppSettings.ShowPayStack switch
                {
                    true => new InitPayStackPayment(Activity),
                    _ => PayStackPayment
                };

                CashFreePayment = AppSettings.ShowCashFree switch
                {
                    true => new InitCashFreePayment(Activity),
                    _ => CashFreePayment
                };

                PaySeraPayment = AppSettings.ShowPaySera switch
                {
                    true => new InitPaySeraPayment(Activity),
                    _ => PaySeraPayment
                };
            }
            catch (Exception e)
            {
                Methods.DisplayReportResultTrack(e);
            }
        }