createProgressNotification
fun Context.createProgressNotification(channelId: String, @StringRes title: Int, total: Int, current: Int, @DrawableRes icon: Int, pendingIntent: PendingIntent? = null): Notification
Creates a progress notification using the specified channel ID, title, total, current, and icon.
Return
The notification object.
Parameters
channelId
The ID of the notification channel.
title
The title of the notification.
total
The total progress value.
current
The current progress value.
icon
The icon of the notification.