Add test on DefaultSpaceEntryPoint
This commit is contained in:
+1
-1
@@ -11,6 +11,6 @@ import com.bumble.appyx.core.modality.BuildContext
|
||||
import com.bumble.appyx.core.node.Node
|
||||
import com.bumble.appyx.core.plugin.Plugin
|
||||
|
||||
interface AssistedNodeFactory<NODE : Node> {
|
||||
fun interface AssistedNodeFactory<NODE : Node> {
|
||||
fun create(buildContext: BuildContext, plugins: List<Plugin>): NODE
|
||||
}
|
||||
|
||||
+1
-2
@@ -46,8 +46,7 @@ inline fun <reified N : Node> NodeFactoriesBindings.createNode(
|
||||
return node as N
|
||||
}
|
||||
|
||||
// @BindingContainer
|
||||
interface NodeFactoriesBindings {
|
||||
fun interface NodeFactoriesBindings {
|
||||
@Multibinds
|
||||
fun nodeFactories(): Map<KClass<out Node>, AssistedNodeFactory<*>>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user