Notification not getting removed on clicking action button even after providing the notification id
问题 I'm delivering a notification which has 2 action buttons namely "Accept" and "Reject". I'm following this Github repo. When user clicks "Accept", certain conditions are checked and the logic is performed accordingly. UPDATE 2.0 - The problem is that upon clicking "Accept" button, operation is happening successfully but the notification isn't disappearing from the status bar because the id generating here: m = (new Random()).nextInt(10000); is different from here: actionIntent.putExtra("id",