Skip to content
Discussion options

You must be logged in to vote
  1. That's not the only reason. The other possible reason is inability to inject Activity-scoped dependencies. E.g. it's usually convenient to request runtime permission from a component. You can create your own PermissionRequester interface, inject into a component and then cover the permission flow with simple unit tests.
  2. Yes, correct.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@duongphuhiep
Comment options

@arkivanov
Comment options

Answer selected by YektaDev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants