ImageView.OnCreateDrawableState(Int32) 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.
Generate the new Drawable state for this view.
[Android.Runtime.Register("onCreateDrawableState", "(I)[I", "GetOnCreateDrawableState_IHandler")]
public virtual int[]? OnCreateDrawableState (int extraSpace);
[<Android.Runtime.Register("onCreateDrawableState", "(I)[I", "GetOnCreateDrawableState_IHandler")>]
override this.OnCreateDrawableState : int -> int[]
Parameters
- extraSpace
- Int32
if non-zero, this is the number of extra entries you would like in the returned array in which you can place your own states.
Returns
- Attributes
Remarks
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.