https://kotlinlang.org logo
#android
Title
# android
r

rkeazor

12/11/2017, 1:07 AM
Why would a repo need to know the android context?
👍 3
d

dave08

12/11/2017, 10:49 AM
That's not usually a repos work... more like for a controller/presenter through the view's interface. The model and presenter or controller layer shouldn't be aware of android as much as possible to avoid coupling and ease testing on jvm...
1
2 Views