Avoid using navigateUp.
This commit is contained in:
parent
4a90186bd1
commit
f05a00b9b3
4 changed files with 27 additions and 5 deletions
|
|
@ -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()
|
||||
}
|
||||
|
|
@ -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()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue