<Which application context?> Android Kotlin: Am tr...
# stackoverflow
r
Which application context? Android Kotlin: Am trying to integrate mqtt following https://medium.com/@chaitanya.bhojwani1012/eclipse-paho-mqtt-android-client-using-kotlin-56129ff5fbe7 but after inserting code into a the kt class, I get a "Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Context?" on fun mqttConnect(applicationContext :...