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.
是否可以使用从主要活动生成的 android 项目接收事件?
所以我可以测试事件?
这是测试事件的最佳方式吗?
提前致谢
See Activity Testing Tutorial how to test activities in Android. To test activity's events Instrumentation class is used. TouchUtils class is useful to generate touch events.