you can do something like this with AndroidViewInj...
# kodein