SharedElementCallback.OnMapSharedElements 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.
Lets the SharedElementCallback adjust the mapping of shared element names to 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
Parameters
The names of all shared elements transferred from the calling Activity or Fragment in the order they were provided.
- sharedElements
- IDictionary<String,View>
The mapping of shared element names to Views. The best guess will be filled into sharedElements based on the transitionNames.
- Attributes
Remarks
Lets the SharedElementCallback adjust the mapping of shared element names to Views.
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.