示例#1
0
        public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle icicle)
        {
            // If recreated on screen orientation changed, game == null, check for that
            View v = null;

            if (game != null)
            {
                v = game.CreateView(inflater, container);
            }
            return(v);
        }