androidx.test.core.app.ActivityScenario.onActivity java code ...
文章推薦指數: 80 %
Use {@link ActivityScenario to launch and get access to the activity. * {@link ActivityScenario#onActivity(ActivityScenario.ActivityAction)} provides a thread-safe ... HowtouseonActivitymethodinandroidx.test.core.app.ActivityScenarioBestJavacodesnippetsusingandroidx.test.core
延伸文章資訊
- 1Source Code for ActivityScenario.java - AndroidX Tech
It * works with arbitrary activities and works consistently across different versions of the Andr...
- 2Test your app's activities | Android Developers
ActivityScenario is a cross-platform API that you can use in local unit tests and on-device inte...
- 3Source Code for ActivityScenario.java - AndroidX Tech
It * works with arbitrary activities and works consistently across different versions of the Andr...
- 4androidx.test.core.app.ActivityScenario.launch java code ...
public ActivityController(Class clazz) { scenario = ActivityScenario.launch(clazz);
- 5android-test/ActivityScenario.java at master - GitHub
ActivityScenario<MyActivity> scenario = ...