IWindowInsetsAnimationController.Finish(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Finishes the animation, and leaves the windows shown or hidden.
[Android.Runtime.Register("finish", "(Z)V", "GetFinish_ZHandler:Android.Views.IWindowInsetsAnimationControllerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)]
public void Finish (bool shown);
[<Android.Runtime.Register("finish", "(Z)V", "GetFinish_ZHandler:Android.Views.IWindowInsetsAnimationControllerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)>]
abstract member Finish : bool -> unit
Parameters
- shown
- Boolean
if true
, the windows will be shown after finishing the
animation. Otherwise they will be hidden.
- Attributes
Remarks
Finishes the animation, and leaves the windows shown or hidden.
After invoking #finish
, this instance is no longer #isReady ready
.
Note: Finishing an animation implicitly #setInsetsAndAlpha sets insets and alpha
according to the requested end state without any further animation.
Java documentation for android.view.WindowInsetsAnimationController.finish(boolean)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.