Add some todos
This commit is contained in:
parent
d5f43aec37
commit
c8e285b6e9
4 changed files with 4 additions and 1 deletions
|
|
@ -23,6 +23,7 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
|
// TODO change the namespace (and your classes package)
|
||||||
namespace = "io.element.android.x.features.template"
|
namespace = "io.element.android.x.features.template"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@
|
||||||
|
|
||||||
package io.element.android.x.features.template
|
package io.element.android.x.features.template
|
||||||
|
|
||||||
|
// TODO Add your events or remove the file completely if no events
|
||||||
sealed interface TemplateEvents {
|
sealed interface TemplateEvents {
|
||||||
object MyEvent: TemplateEvents
|
object MyEvent: TemplateEvents
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ import io.element.android.x.anvilannotations.ContributesNode
|
||||||
import io.element.android.x.architecture.presenterConnector
|
import io.element.android.x.architecture.presenterConnector
|
||||||
import io.element.android.x.di.AppScope
|
import io.element.android.x.di.AppScope
|
||||||
|
|
||||||
// Change to use the right Scope for your feature.
|
// TODO Change to use the right Scope for your feature. For now it can be AppScope, SessionScope or RoomScope
|
||||||
@ContributesNode(AppScope::class)
|
@ContributesNode(AppScope::class)
|
||||||
class TemplateNode @AssistedInject constructor(
|
class TemplateNode @AssistedInject constructor(
|
||||||
@Assisted buildContext: BuildContext,
|
@Assisted buildContext: BuildContext,
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@
|
||||||
|
|
||||||
package io.element.android.x.features.template
|
package io.element.android.x.features.template
|
||||||
|
|
||||||
|
// TODO add your ui models. Remove the eventSink if you don't have events.
|
||||||
data class TemplateState(
|
data class TemplateState(
|
||||||
val eventSink: (TemplateEvents) -> Unit = {}
|
val eventSink: (TemplateEvents) -> Unit = {}
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue