Join Slack
Powered by
Hello, how can i do this example with koin? <https...
# koin
s
Sergio Crespo Toubes
03/06/2019, 11:43 AM
Hello, how can i do this example with koin?
https://github.com/googlesamples/android-architecture/blob/todo-mvp-clean/todoapp/app/src/main/java/com/example/android/architecture/blueprints/todoapp/taskdetail/TaskDetailActivity.java
How can i inject the string extra
EXTRA_TASK_ID
with koin?
s
sanogueralorenzo
03/09/2019, 12:42 AM
Not sure but I think it is explained here: what you need is parametersOf
https://www.raywenderlich.com/9457-dependency-injection-with-koin
s
Sergio Crespo Toubes
03/12/2019, 9:59 AM
Thanks mario i could solution this with parametersOf but with method bind() inside of onCreate() after getting extra parameter.
3
Views
Open in Slack
Previous
Next