/// <summary> /// Initializes a new instance of the <see cref="ActionBarAdapter"/> class. /// </summary> /// <param name="appCompatDelegateProvider">The application delegate provider.</param> public ActionBarAdapter(IAppCompatDelegateProvider appCompatDelegateProvider) { this.AppCompatDelegateProvider = appCompatDelegateProvider; }
/// <summary> /// Initializes a new instance of the <see cref="WindowAdapter"/> class. /// </summary> /// <param name="window">The window.</param> /// <param name="appCompatDelegateProvider">The application delegate provider.</param> internal WindowAdapter(Window window, IAppCompatDelegateProvider appCompatDelegateProvider) : base(window.Context) { this.AppCompatDelegateProvider = appCompatDelegateProvider; this.Callback = window.Callback; this.Window = window; }