Avoid using navigateUp.
This commit is contained in:
+17
@@ -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()
|
||||
}
|
||||
+3
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user