You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
583 B
20 lines
583 B
package io.element.android.features.${MODULE_NAME}.api |
|
|
|
import com.bumble.appyx.core.modality.BuildContext |
|
import com.bumble.appyx.core.node.Node |
|
import com.bumble.appyx.core.plugin.Plugin |
|
import io.element.android.libraries.architecture.FeatureEntryPoint |
|
|
|
interface ${FEATURE_NAME}EntryPoint : FeatureEntryPoint { |
|
|
|
fun nodeBuilder(parentNode: Node, buildContext: BuildContext): NodeBuilder |
|
|
|
interface NodeBuilder { |
|
fun callback(callback: Callback): NodeBuilder |
|
fun build(): Node |
|
} |
|
|
|
interface Callback : Plugin { |
|
// Add your callbacks |
|
} |
|
}
|
|
|