private void DestroyBasic() { try { MAdapter = null; TxtSave = null; Image = null; TxtAddImg = null; IconDiscountType = null; TxtDiscountType = null; MRecycler = null; IconDiscountItems = null; TxtDiscountItems = null; IconCurrency = null; TxtCurrency = null; IconDescription = null; TxtDescription = null; IconDate = null; TxtDate = null; IconTime = null; TxtTime = null; } catch (Exception e) { Console.WriteLine(e); } }
private void DestroyBasic() { try { MAdapter = null !; TxtSave = null !; IconDiscountType = null !; TxtDiscountType = null !; MRecycler = null !; IconDiscountItems = null !; TxtDiscountItems = null !; IconCurrency = null !; TxtCurrency = null !; IconDescription = null !; TxtDescription = null !; IconDate = null !; TxtDate = null !; IconTime = null !; TxtTime = null !; OfferClass = null !; TypeDialog = null !; CurrencyId = null !; OfferId = null !; AddDiscountId = null !; } catch (Exception e) { Methods.DisplayReportResultTrack(e); } }
private void DestroyBasic() { try { MAdapter = null; TxtSave = null; IconDiscountType = null; TxtDiscountType = null; MRecycler = null; IconDiscountItems = null; TxtDiscountItems = null; IconCurrency = null; TxtCurrency = null; IconDescription = null; TxtDescription = null; IconDate = null; TxtDate = null; IconTime = null; TxtTime = null; OfferClass = null; TypeDialog = null; CurrencyId = null; OfferId = null; AddDiscountId = null; } catch (Exception e) { Console.WriteLine(e); } }
private void SetRecyclerViewAdapters() { try { LayoutManager = new LinearLayoutManager(this); MAdapter = new DiscountTypeAdapter(this) { DiscountList = new ObservableCollection <DiscountOffers>() }; MRecycler.SetLayoutManager(LayoutManager); MRecycler.SetAdapter(MAdapter); } catch (Exception e) { Console.WriteLine(e); } }
private void SetRecyclerViewAdapters() { try { LayoutManager = new LinearLayoutManager(this); MAdapter = new DiscountTypeAdapter(this) { DiscountList = new ObservableCollection <DiscountOffers>() }; MRecycler.SetLayoutManager(LayoutManager); MRecycler.SetAdapter(MAdapter); } catch (Exception e) { Methods.DisplayReportResultTrack(e); } }