Start migrating Anvil KSP to Metro
This commit is contained in:
parent
2eacce47c0
commit
92a4b8b66b
703 changed files with 3523 additions and 2820 deletions
|
|
@ -2,9 +2,10 @@
|
|||
|
||||
import androidx.compose.runtime.Composable
|
||||
import io.element.android.libraries.architecture.Presenter
|
||||
import javax.inject.Inject
|
||||
import dev.zacsweers.metro.Inject
|
||||
|
||||
class ${NAME}Presenter @Inject constructor() : Presenter<${NAME}State> {
|
||||
@Inject
|
||||
class ${NAME}Presenter() : Presenter<${NAME}State> {
|
||||
|
||||
@Composable
|
||||
override fun present(): ${NAME}State {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue