This message was deleted.
# announcements
s
This message was deleted.
🤖 1
k
Generally it’s not a good idea to pass context instances like Activities or Services to ViewModel. You can safely pass Application (context) instance there.
l
This is Kotlin Slack, not even in the #android channel… Look at the ViewModel docs, passing applicationContext as constructor parameter is already supported.
a
@louiscad I have deleted the message thanks for correction