Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用可穿戴 SDK 并为我的示例应用程序创建了一些额外的页面。
有没有一种方便的方法可以通过例如滑动来关闭/删除单个页面?
我刚刚发现要求添加,但没有删除(即使在采取行动之后)
据我所知,这是不可能的,因为即使是多页通知(从技术角度来看)也只是一个单一的通知,它只能完全消失。
我在这里看到的唯一可能性是为广播接收器设置一个挂起的意图,以某种方式找出用户在关闭通知时位于哪个页面,然后在没有此页面的情况下创建一个新通知。