You need let. `soundMap[soundId]?.let { //do somet...
# android
k
You need let.
soundMap[soundId]?.let { //do something with non null }