DefaultTestActivity

class DefaultTestActivity : Activity
kotlin.Any
   ↳ android.content.Context
   ↳ android.content.ContextWrapper
   ↳ android.view.ContextThemeWrapper
   ↳ android.app.Activity
   ↳ androidx.ui.test.android.DefaultTestActivity

Summary

Public constructors

Public methods

Unit

Inherited extension functions

From androidx.compose.android.app.Activity
Unit

Disposes of a composition that was started using setContent.

CompositionContext?
Activity.setViewContent(composable: () -> Unit)

Sets the contentView of an activity to a FrameLayout, and composes the contents of the layout with the passed in composable.

From androidx.ui.core.android.app.Activity
CompositionContext?
Activity.setContent(content: () -> Unit)

Composes the given composable into the given activity.

Properties

CountDownLatch

Public constructors

<init>

DefaultTestActivity()

Public methods

onWindowFocusChanged

fun onWindowFocusChanged(hasFocus: Boolean
): Unit

Properties

hasFocusLatch

var hasFocusLatch: CountDownLatch