Join Slack
Powered by
So by doing ``` class MyClass(context : Context)...
# getting-started
w
waylonbrown
09/11/2017, 10:17 PM
So by doing
Copy code
class MyClass(context : Context) { var context = context.applicationContext
it looks like whenever I refer to
context
it uses the one in the constructor rather than the field
2
Views
Open in Slack
Previous
Next