public ActionBarImpl(android.app.Dialog dialog) { mHideListener = new _AnimatorListenerAdapter_108(this); mShowListener = new _AnimatorListenerAdapter_125(this); mDialog = dialog; init(dialog.getWindow().getDecorView()); }
/// <summary> /// Adds a listener to the set of listeners that are sent events through the life of an /// animation, such as start, repeat, and end. /// </summary> /// <remarks> /// Adds a listener to the set of listeners that are sent events through the life of an /// animation, such as start, repeat, and end. /// </remarks> /// <param name="listener">the listener to be added to the current set of listeners for this animation. /// </param> public virtual void addListener(android.animation.Animator.AnimatorListener listener ) { if (mListeners == null) { mListeners = new java.util.ArrayList <android.animation.Animator.AnimatorListener> (); } mListeners.add(listener); }
/// <summary>Removes a listener from the set listening to this animation.</summary> /// <remarks>Removes a listener from the set listening to this animation.</remarks> /// <param name="listener"> /// the listener to be removed from the current set of listeners for this /// animation. /// </param> public virtual void removeListener(android.animation.Animator.AnimatorListener listener ) { if (mListeners == null) { return; } mListeners.remove(listener); if (mListeners.size() == 0) { mListeners = null; } }
public ActionBarImpl(android.app.Activity activity) { mHideListener = new _AnimatorListenerAdapter_108(this); mShowListener = new _AnimatorListenerAdapter_125(this); mActivity = activity; android.view.Window window = activity.getWindow(); android.view.View decor = window.getDecorView(); init(decor); if (!mActivity.getWindow().hasFeature(android.view.Window.FEATURE_ACTION_BAR_OVERLAY )) { mContentView = decor.findViewById(android.R.id.content); } }
public virtual android.view.ViewPropertyAnimator setListener(android.animation.Animator .AnimatorListener listener) { throw new System.NotImplementedException(); }
public ActionBarImpl(android.app.Dialog dialog) { mHideListener = new _AnimatorListenerAdapter_108(this); mShowListener = new _AnimatorListenerAdapter_125(this); mDialog = dialog; init(dialog.getWindow().getDecorView()); }
public ActionBarImpl(android.app.Activity activity) { mHideListener = new _AnimatorListenerAdapter_108(this); mShowListener = new _AnimatorListenerAdapter_125(this); mActivity = activity; android.view.Window window = activity.getWindow(); android.view.View decor = window.getDecorView(); init(decor); if (!mActivity.getWindow().hasFeature(android.view.Window.FEATURE_ACTION_BAR_OVERLAY )) { mContentView = decor.findViewById(android.R.id.content); } }