Breaking News: Grepper is joining Read the official announcement!
Check it out

android studio on click action remove notification compact

Ganz404 answered on March 3, 2023 Popularity 2/10 Helpfulness 8/10


More Related Answers

  • remove action bar android studio
  • remove notification observer swift
  • android studio remove notification bar
  • android studio remove action bar
  • hide actionbar android
  • android how do I slience a notification without disabling it

  • android studio on click action remove notification compact


    When you called notify on the notification manager you gave it an id - that is the unique id you can use to access it later (this is from the notification manager:


    notificationManagerCompat.notify(id,; // build

    To cancel, you would call:

    ​notificationManagerCompat.cancel(1); //dismiss

    if you are use BroadcastReceive

    Popularity 2/10 Helpfulness 8/10 Language java
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Mar 03 2023
    0 Answers  Avg Quality 2/10


    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.