public virtual void BindPlayerMetadataView(IPlayerMetadataView view) { _playerMetadataView = view; _playerMetadataPresenter = Bootstrapper.GetContainer().Resolve<IPlayerMetadataPresenter>(); _playerMetadataPresenter.BindView(view); _playerMetadataView.OnViewDestroy = (view2) => { _playerMetadataPresenter.ViewDestroyed(); _playerMetadataPresenter = null; _playerMetadataView = null; }; }
public virtual IPlayerMetadataView CreatePlayerMetadataView() { _playerMetadataView = Bootstrapper.GetContainer().Resolve<IPlayerMetadataView>(); return _playerMetadataView; }