View.ComputeScroll 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
由父節點呼叫,請求子節點更新 mScrollX 和 mScrollY 的值(如有需要)。
[Android.Runtime.Register("computeScroll", "()V", "GetComputeScrollHandler")]
public virtual void ComputeScroll();
[<Android.Runtime.Register("computeScroll", "()V", "GetComputeScrollHandler")>]
abstract member ComputeScroll : unit -> unit
override this.ComputeScroll : unit -> unit
- 屬性
備註
由父節點呼叫,請求子節點更新 mScrollX 和 mScrollY 的值(如有需要)。 這通常會在孩子用 android.widget.Scroller Scroller 物件來動畫捲軸時進行。
的 android.view.View.computeScroll()Java 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。