8.7 released—WinterCG Compliance Part 1
Learn more
ProxyViewContainer
Proxy view container that adds all its native children directly to the parent. To be used as a logical grouping container of views.

Summary

Constructors

constructor

Methods

_addViewToNativeVisualTree
_changedLayoutProperty
_eachLayoutView
_getNativeViewsCount
_parentChanged
_registerLayoutChild
_removeViewFromNativeVisualTree
_setupUI
_tearDownUI
_unregisterLayoutChild
createNativeView
112 methods inherited from LayoutBase
Click to expand

Constructors

Accessors

android

get android(): any

ios

isLayoutRequested

get isLayoutRequested(): boolean

Methods

_addViewToNativeVisualTree

_addViewToNativeVisualTree(child: View, atIndex?: number): boolean
Parameter Default Description
child

atIndex
number

Returns boolean

_changedLayoutProperty

_changedLayoutProperty(propName: string, value: string): void
Layout property changed, proxy the new value to the child view(s)
Parameter Default Description
propName
string

value
string

Returns void

_eachLayoutView

_eachLayoutView(callback: (View: any) => void): void
Parameter Default Description
callback
(View: any) => void

Returns void

_getNativeViewsCount

_getNativeViewsCount(): number

_parentChanged

_parentChanged(oldParent: View): void
Parameter Default Description
oldParent

Returns void

_registerLayoutChild

_registerLayoutChild(child: View): void
Parameter Default Description
child

Returns void

_removeViewFromNativeVisualTree

_removeViewFromNativeVisualTree(child: View): void
Parameter Default Description
child

Returns void

_setupUI

_setupUI(context: any, atIndex?: number, parentIsLoaded?: boolean): void
Parameter Default Description
context
any

atIndex
number

parentIsLoaded
boolean

Returns void

_tearDownUI

_tearDownUI(force?: boolean): void
Parameter Default Description
force
boolean

Returns void

_unregisterLayoutChild

_unregisterLayoutChild(child: View): void
Parameter Default Description
child

Returns void

createNativeView

createNativeView(): any
Previous
Property