ActivityScenario.ActivityAction | Android 开发者 | Android ...
文章推薦指數: 80 %
Example: ActivityScenario
延伸文章資訊
- 1Source Code for ActivityScenario.java - AndroidX Tech
It * works with arbitrary activities and works consistently across different versions of the Andr...
- 2ActivityScenario.ActivityAction | Android 开发者 | Android ...
Example: ActivityScenario<MyActivity> scenario = ActivityScenario.launch(MyActivity.class); scena...
- 3androidx.test.core.app.ActivityScenario.launch java code ...
public ActivityController(Class clazz) { scenario = ActivityScenario.launch(clazz);
- 4Test your app's activities | Android Developers
ActivityScenario is a cross-platform API that you can use in local unit tests and on-device integ...
- 5Java Code Examples for androidx.test.core.app.ActivityScenario
... try (ActivityScenario<MainActivity> ignored = ActivityScenario.launch(MainActivity.class)) {...