SharedElementCallback.OnMapSharedElements 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
讓 SharedElementCallback 調整共享元素名稱映射到 Views。
[Android.Runtime.Register("onMapSharedElements", "(Ljava/util/List;Ljava/util/Map;)V", "GetOnMapSharedElements_Ljava_util_List_Ljava_util_Map_Handler")]
public virtual void OnMapSharedElements(System.Collections.Generic.IList<string>? names, System.Collections.Generic.IDictionary<string,Android.Views.View>? sharedElements);
[<Android.Runtime.Register("onMapSharedElements", "(Ljava/util/List;Ljava/util/Map;)V", "GetOnMapSharedElements_Ljava_util_List_Ljava_util_Map_Handler")>]
abstract member OnMapSharedElements : System.Collections.Generic.IList<string> * System.Collections.Generic.IDictionary<string, Android.Views.View> -> unit
override this.OnMapSharedElements : System.Collections.Generic.IList<string> * System.Collections.Generic.IDictionary<string, Android.Views.View> -> unit
參數
- sharedElements
- IDictionary<String,View>
將共享元素名稱映射到檢視。 最佳猜測會根據 transitionNames 填入 sharedElements。
- 屬性
備註
讓 SharedElementCallback 調整共享元素名稱映射到 Views。
Android 參考資料。android.app.SharedElementCallback.onMapSharedElements
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。