Source Code for ActivityScenario.java - AndroidX Tech
文章推薦指數: 80 %
It * works with arbitrary activities and works consistently across different versions of the Android * framework. * *
The ActivityScenario API uses {@link State} ... AndroidXTech Artifacts androidx.activity:activity androidx.activity:activity-compose androidx
延伸文章資訊
- 1androidx.test.core.app.ActivityScenario.onActivity java code ...
Use {@link ActivityScenario to launch and get access to the activity. * {@link ActivityScenario#o...
- 2androidx.test.core.app.ActivityScenario.onActivity java code ...
Use {@link ActivityScenario to launch and get access to the activity. * {@link ActivityScenario#o...
- 3ActivityScenario.ActivityAction | Android 开发者 | Android ...
Example: ActivityScenario<MyActivity> scenario = ActivityScenario.launch(MyActivity.class); scen...
- 4Better tests with AndroidX's ActivityScenario in Kotlin — Part 1 ...
ActivityScenario provides APIs to start and drive an Activity's lifecycle state for testing. It w...
- 5Test your app's activities | Android Developers
ActivityScenario is a cross-platform API that you can use in local unit tests and on-device integ...