public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
 {
     try
     {
         View view = inflater.Inflate(Resource.Layout.MainFragmentLayout, container, false);
         ContextGames = (GamesActivity)Activity;
         return(view);
     }
     catch (Exception e)
     {
         Methods.DisplayReportResultTrack(e);
         return(null !);
     }
 }
Пример #2
0
        public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
        {
            try
            {
                View view = inflater.Inflate(Resource.Layout.MainFragmentLayout, container, false);
                ContextGames = (GamesActivity)Activity;

                InitComponent(view);
                SetRecyclerViewAdapters();

                return(view);
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
                return(null);
            }
        }