如何通过单击通知中的操作按钮执行自定义任务? - How to perform a custom task from a action button click in notification?
我的应用程序中有一个通知,我想在单击通知中的操作时执行自定义任务。 我这样做是为了添加一个动作:timerNotificationBuilder.addAction(0, "STOP", null /*What to add here ?*/ ); 但是,我想阻止处理程序在单击此操作时运行。 我 ...