如何在MediaController上单击暂停/播放按钮时捕获事件 [英] How to catch event when click pause/play button on MediaController

查看:111
本文介绍了如何在MediaController上单击暂停/播放按钮时捕获事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我尝试onKey,onTouch - 然后我点击MediaController上的暂停/播放按钮没有做任何事情发生了。

解决方案

有一个迟到的答案,但我发布了一个相同问题的解决方案超过,以防您仍在寻找(或其他人可能碰到这个...)



//编辑:ups,没有注意到有人已经发布了一个链接作为评论...


How to catch event when click pause/play button on MediaController.

i try onKey,onTouch - and then i click on pause/play button on MediaController did nothing happened.

解决方案

A bit of a late answer, but I posted a solution to an identical question overhere, in case you're still looking (or others that perhaps bump into this...)

//Edit: ups, didn't notice someone already posted a link as comment...

这篇关于如何在MediaController上单击暂停/播放按钮时捕获事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆