Note: You are on the beta version of our docs. This is a work in progress and may contain broken links and pages. 
Classes
ViewHelper
ViewHelper
Summary 
Constructors
Constructors 
constructor 
new ViewHelper(): ViewHelper
 Returns ViewHelper
Methods 
combineMeasuredStates 
Static
| Parameter | Default | Description | 
curState |  | number | 
newState |  | any | 
 Returns number
layoutChild 
Static
measureChild 
Static
resolveSizeAndState 
Static
resolveSizeAndState(
  size: number,
  specSize: number,
  specMode: number,
  childMeasuredState: number
): numberUtility to reconcile a desired size and state, with constraints imposed
by a MeasureSpec.  Will take the desired size, unless a different size
is imposed by the constraints.  The returned value is a compound integer,
with the resolved size in the MEASURED_SIZE_MASK bits and
optionally the bit MEASURED_STATE_TOO_SMALL set if the resulting
size is smaller than the size the view wants to be.
| Parameter | Default | Description | 
size |  | number | 
specSize |  | number | 
specMode |  | number | 
childMeasuredState |  | number | 
 Returns number
- Previous
 - ViewCommon
 - Next
 - VirtualArray