Avoid using navigateUp.

This commit is contained in:
Benoit Marty 2025-11-21 15:13:23 +01:00
parent 4a90186bd1
commit f05a00b9b3
4 changed files with 27 additions and 5 deletions

View file

@ -0,0 +1,17 @@
/*
* Copyright (c) 2025 Element Creations Ltd.
*
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.libraries.architecture.navigation
import com.bumble.appyx.core.plugin.Plugin
/**
* Base callback interface to be implemented by callers to handle results from nodes.
*/
fun interface BaseCallback : Plugin {
fun onDone()
}

View file

@ -7,6 +7,9 @@
package io.element.android.libraries.architecture.navigation
/**
* Base navigator interface to be implemented by nodes to handle navigation actions from presenters.
*/
fun interface BaseNavigator {
fun close()
}