共用方式為


ImageView.OnCreateDrawableState(Int32) 方法

定義

產生這個檢視的新 Drawable 狀態。

[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[]

參數

extraSpace
Int32

如果不是零,這是您想要在傳回的陣列中放置自己的狀態的額外項目數目。

傳回

Int32[]
屬性

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於