Join Slack
Powered by
<@U5QK61PK7> Contexts get valid and invalid depend...
# android
c
cedric
06/12/2017, 3:09 AM
@jasonlow
Contexts get valid and invalid depending on where in the app you are, storing one in a global singleton will lead to crashes
l
louiscad
06/12/2017, 7:37 AM
cedric: Unless you use Application Context
c
cedric
06/12/2017, 12:53 PM
@louiscad
Try using a previously stored
ApplicationContext
in a service...
l
louiscad
06/12/2017, 1:11 PM
@cedric
I remember doing so without any problem. What is it supposed to do?
2
Views
Open in Slack
Previous
Next