Beispiel #1
0
        private void DestroyBasic()
        {
            try
            {
                PublisherAdView?.Destroy();

                TxtCreate           = null !;
                IconTitle           = null !;
                IconUrl             = null !;
                IconAbout           = null !;
                IconCategories      = null !;
                IconSubCategories   = null !;
                TxtTitle            = null !;
                TxtUrl              = null !;
                TxtAbout            = null !;
                TxtCategories       = null !;
                TxtSubCategories    = null !;
                SubCategoriesLayout = null !;
                MRecycler           = null !;
                MAdapter            = null !;
                LayoutManager       = null !;
                GroupsId            = null !;
                CategoryId          = "";
                SubCategoryId       = "";
                TypeDialog          = "";
                GroupData           = null !;

                PublisherAdView = null !;
            }
            catch (Exception e)
            {
                Methods.DisplayReportResultTrack(e);
            }
        }
        private void DestroyBasic()
        {
            try
            {
                PublisherAdView?.Destroy();

                TxtSave             = null !;
                IconTitle           = null !;
                IconUrl             = null !;
                IconCategories      = null !;
                IconSubCategories   = null !;
                IconUsersPost       = null !;
                TxtTitle            = null !;
                TxtUrl              = null !;
                TxtCategories       = null !;
                TxtSubCategories    = null !;
                SubCategoriesLayout = null !;
                MAdapter            = null !;
                MRecycler           = null !;
                RadioEnable         = null !;
                RadioDisable        = null !;
                LayoutManager       = null !;
                CategoryId          = null !;
                SubCategoryId       = null !;
                PagesId             = null !;
                DialogType          = null !;
                UsersPost           = null !;
                PageData            = null !;
                PublisherAdView     = null !;
            }
            catch (Exception e)
            {
                Methods.DisplayReportResultTrack(e);
            }
        }
        private void DestroyBasic()
        {
            try
            {
                PublisherAdView?.Destroy();

                TxtCreate           = null;
                IconTitle           = null;
                IconUrl             = null;
                IconAbout           = null;
                IconCategories      = null;
                IconSubCategories   = null;
                TxtTitle            = null;
                TxtUrl              = null;
                TxtAbout            = null;
                TxtCategories       = null;
                TxtSubCategories    = null;
                SubCategoriesLayout = null;
                MRecycler           = null;
                MAdapter            = null;
                LayoutManager       = null;
                GroupsId            = null;
                CategoryId          = "";
                SubCategoryId       = "";
                TypeDialog          = "";
                GroupData           = null;

                PublisherAdView = null;
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
            }
        }
        private void DestroyBasic()
        {
            try
            {
                PublisherAdView?.Destroy();

                TxtSave             = null;
                IconTitle           = null;
                IconUrl             = null;
                IconCategories      = null;
                IconSubCategories   = null;
                IconUsersPost       = null;
                TxtTitle            = null;
                TxtUrl              = null;
                TxtCategories       = null;
                TxtSubCategories    = null;
                SubCategoriesLayout = null;
                MAdapter            = null;
                MRecycler           = null;
                RadioEnable         = null;
                RadioDisable        = null;
                LayoutManager       = null;
                CategoryId          = null;
                SubCategoryId       = null;
                PagesId             = null;
                DialogType          = null;
                UsersPost           = null;
                PageData            = null;
                PublisherAdView     = null;
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
            }
        }
Beispiel #5
0
 private void SetRecyclerViewAdapters()
 {
     try
     {
         MAdapter = new CustomFieldsAdapter(this)
         {
             FieldList = new ObservableCollection <CustomField>()
         };
         LayoutManager = new LinearLayoutManager(this);
         MRecycler.SetLayoutManager(LayoutManager);
         MRecycler.HasFixedSize = true;
         MRecycler.SetItemViewCacheSize(10);
         MRecycler.GetLayoutManager().ItemPrefetchEnabled = true;
         MRecycler.SetAdapter(MAdapter);
     }
     catch (Exception e)
     {
         Methods.DisplayReportResultTrack(e);
     }
 }