Share via


View.CombineMeasuredStates(Int32, Int32) Method

Definition

Merge two states as returned by #getMeasuredState().

[Android.Runtime.Register("combineMeasuredStates", "(II)I", "")]
public static int CombineMeasuredStates (int curState, int newState);
[<Android.Runtime.Register("combineMeasuredStates", "(II)I", "")>]
static member CombineMeasuredStates : int * int -> int

Parameters

curState
Int32

The current state as returned from a view or the result of combining multiple views.

newState
Int32

The new view state to combine.

Returns

Returns a new integer reflecting the combination of the two states.

Attributes

Remarks

Merge two states as returned by #getMeasuredState().

Java documentation for android.view.View.combineMeasuredStates(int, int).

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.

Applies to