You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cd7e549
Browse filesBrowse the repository at this point in the historyBrowse files
feat(nav3): Use the SerialName mapper in the Android samples
The routes are @serializable with the Nav2 sample's route names as their serial names. The
single-stack sample names them with BackStackEntryMapper.SerialName and adds each route's own
arguments, and the multi-root samples use SerialName directly. The performance scenario can run
SerialName itself, to measure its name lookups, as well as the custom mapper.
Copy file name to clipboardExpand all lines: sentry-android-integration-tests/sentry-samples-android/src/main/java/io/sentry/samples/android/navigation/nav3/Nav3Activity.kt
Copy file name to clipboardExpand all lines: sentry-android-integration-tests/sentry-samples-android/src/main/java/io/sentry/samples/android/navigation/nav3/Nav3MultiActivity.kt
Copy file name to clipboardExpand all lines: sentry-android-integration-tests/sentry-samples-android/src/main/java/io/sentry/samples/android/navigation/nav3/Nav3PerformanceControls.kt
+28-2Lines changed: 28 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,7 @@ internal class Nav3PerformanceState(
52
52
var autoNavigate by mutableStateOf(false)
53
53
var extractorMode by mutableStateOf(Nav3PerformanceExtractorMode.NORMAL)
54
54
var argumentMode by mutableStateOf(Nav3PerformanceArgumentMode.FLAT)
55
+
var mapperMode by mutableStateOf(Nav3PerformanceMapperMode.CUSTOM)
55
56
var integrationMode by mutableStateOf(Nav3PerformanceIntegrationMode.FULL_STACK)
56
57
private set
57
58
@@ -321,6 +322,7 @@ internal class Nav3PerformanceState(
0 commit comments