按钮自动点击? [英] Button automatically click?
本文介绍了按钮自动点击?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要一个按钮自动点击。无论是在活动的创建上,还是在我将设置为非常短的时间的计时器上。任何人都可以帮我解决这个问题。如何调用单击按钮?
I need to have a button automatically click. Either on the creation of the activity, or on a timer that I will set to a very short time. Can anyone help me out with this. How do I call for the button to be clicked?
推荐答案
您可以调用 OnClickListener
(如果有的话)使用 performClick()。
You can call the OnClickListener
(if any) using performClick().
这篇关于按钮自动点击?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文