ViewStub.IOnInflateListener.OnInflate(ViewStub, View) 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.
Invoked after a ViewStub successfully inflated its layout resource.
[Android.Runtime.Register("onInflate", "(Landroid/view/ViewStub;Landroid/view/View;)V", "GetOnInflate_Landroid_view_ViewStub_Landroid_view_View_Handler:Android.Views.ViewStub/IOnInflateListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnInflate (Android.Views.ViewStub? stub, Android.Views.View? inflated);
[<Android.Runtime.Register("onInflate", "(Landroid/view/ViewStub;Landroid/view/View;)V", "GetOnInflate_Landroid_view_ViewStub_Landroid_view_View_Handler:Android.Views.ViewStub/IOnInflateListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnInflate : Android.Views.ViewStub * Android.Views.View -> unit
Parameters
- stub
- ViewStub
The ViewStub that initiated the inflation.
- inflated
- View
The inflated View.
- Attributes
Remarks
Invoked after a ViewStub successfully inflated its layout resource. This method is invoked after the inflated view was added to the hierarchy but before the layout pass.
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.