# android.support.test.runner.intercepting

# android.support.test.runner.intercepting

| This package is part of the Android[support library](https://developer.android.com/topic/libraries/support-library)which is no longer maintained. The support library has been superseded by[AndroidX](https://developer.android.com/jetpack/androidx)which is part of[Jetpack](https://developer.android.com/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider[migrating](https://developer.android.com/jetpack/androidx/migrate)existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library[class mappings](https://developer.android.com/jetpack/androidx/migrate/class-mappings).

## Interfaces

|---------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------|
| [InterceptingActivityFactory](https://developer.android.com/reference/android/support/test/runner/intercepting/InterceptingActivityFactory) | Implement this interface to provide custom implementation of Activity under test. |

## Classes

|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [SingleActivityFactory](https://developer.android.com/reference/android/support/test/runner/intercepting/SingleActivityFactory)\<T extends[Activity](https://developer.android.com/reference/android/app/Activity.html)\> | Abstract implementation of[InterceptingActivityFactory](https://developer.android.com/reference/android/support/test/runner/intercepting/InterceptingActivityFactory)which allows to intercept only one activity at a time. |

-

  ## Interfaces

  - [InterceptingActivityFactory](https://developer.android.com/reference/android/support/test/runner/intercepting/InterceptingActivityFactory)
-

  ## Classes

  - [SingleActivityFactory](https://developer.android.com/reference/android/support/test/runner/intercepting/SingleActivityFactory)