示例#1
0
 /// <summary>
 /// Overridden to add this native view to the parent native view
 /// </summary>
 /// <param name="host">Host.</param>
 internal override void onAttach(ViewGroup.IHost host)
 {
     // If we have a view, attach to the hosting view by adding as a subview
     if (_view != null)
     {
         host.GetUIView().Add(_view);
     }
 }
示例#2
0
 // Internal notification that this view has been attached to a hosting view
 internal virtual void onAttach(ViewGroup.IHost host)
 {
 }