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); } }
private void SetRecyclerViewAdapters() { try { FeaturesAdapter = new GoProFeaturesAdapter(this); LayoutManagerView = new GridLayoutManager(this, 3); MainRecyclerView.SetLayoutManager(LayoutManagerView); MainRecyclerView.HasFixedSize = true; MainRecyclerView.SetAdapter(FeaturesAdapter); PlansAdapter = new UpgradeGoProAdapter(this); PlansLayoutManagerView = new LinearLayoutManager(this, LinearLayoutManager.Horizontal, false); MainPlansRecyclerView.SetLayoutManager(PlansLayoutManagerView); MainPlansRecyclerView.HasFixedSize = true; MainPlansRecyclerView.SetAdapter(PlansAdapter); } catch (Exception e) { Methods.DisplayReportResultTrack(e); } }
private void DestroyBasic() { try { MainRecyclerView = null; MainPlansRecyclerView = null; LayoutManagerView = null; PlansLayoutManagerView = null; FeaturesAdapter = null; PlansAdapter = null; InitPayPalPayment = null; BillingPayment = null; IconClose = null; PayId = null; Price = null; PayType = null; ItemUpgrade = null; } catch (Exception e) { Console.WriteLine(e); } }