Remove extra space in filename
This commit is contained in:
parent
2921ab1bd4
commit
9c6010aa6e
7 changed files with 12 additions and 12 deletions
|
|
@ -0,0 +1,22 @@
|
|||
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME}#end
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
import io.element.android.libraries.architecture.Presenter
|
||||
import javax.inject.Inject
|
||||
|
||||
class ${NAME}Presenter @Inject constructor() : Presenter<${NAME}State> {
|
||||
|
||||
@Composable
|
||||
override fun present(): ${NAME}State {
|
||||
|
||||
fun handleEvents(event: ${NAME}Events) {
|
||||
when (event) {
|
||||
${NAME}Events.MyEvent -> Unit
|
||||
}
|
||||
}
|
||||
|
||||
return ${NAME}State(
|
||||
eventSink = ::handleEvents
|
||||
)
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue