public override void OnCreate() { base.OnCreate(); RegisterActivityLifecycleCallbacks(this); CastManager.InitCastManager(this, NameSpace); _castManager = CastManager.GetCastManager(); }