I need to pass Kotlin's Pair
as arguments.
<argument android:name="data" app:argType="kotlin.Pair" />
e: CreateCodeFragmentDirections.kt: (16, 15): 2 type arguments expected for class Pair<out A, out B>
<argument android:name="data" app:argType="kotlin.Pair<String, String>" />
Cause: markup not allowed inside attribute value - illegal < (position: TEXT seen ...<argument android:name="data" app:argType="kotlin.Pair<... @132:30)
<argument android:name="data" app:argType="kotlin.Pair<String, String>" />
Can't escape identifier `Pair<String, String>` because it contains illegal characters: <>
None of the above attempts worked. How can I do it?