suhas
09/12/2021, 2:17 AMif (mNotificationManager == null) {
mNotificationManager = this.getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager
}
ephemient
09/12/2021, 2:23 AMval notificationManager by lazy {
context.getSystemService<NotificationManager>()
}
androidx.core.content.getSystemService avoids a cast, kotlin.lazy handles init-once