Package org.robolectric.shadows
Class ShadowActivityGroup
java.lang.Object
org.robolectric.shadows.ShadowContextWrapper
org.robolectric.shadows.ShadowContextThemeWrapper
org.robolectric.shadows.ShadowActivity
org.robolectric.shadows.ShadowActivityGroup
- Direct Known Subclasses:
ShadowTabActivity
@Implements(android.app.ActivityGroup.class) public class ShadowActivityGroup extends ShadowActivity
-
Nested Class Summary
Nested classes/interfaces inherited from class org.robolectric.shadows.ShadowActivity
ShadowActivity.IntentForResult, ShadowActivity.IntentSenderRequest, ShadowActivity.PermissionsRequest -
Field Summary
-
Constructor Summary
Constructors Constructor Description ShadowActivityGroup() -
Method Summary
Modifier and Type Method Description protected ActivitygetCurrentActivity()voidsetCurrentActivity(Activity activity)Methods inherited from class org.robolectric.shadows.ShadowActivity
attachController, callAttach, callAttach, callAttach, callOnActivityResult, callOnGetDirectActions, clickMenuItem, dismissDialog, enterPictureInPictureMode, enterPictureInPictureMode, findViewById, finish, finishAffinity, finishAndRemoveTask, getCallingActivity, getCallingPackage, getContentView, getCurrentFocus, getDefaultKeymode, getDialogById, getLastIntentSenderRequest, getLastNonConfigurationInstance, getLastRequestedPermission, getLastShownDialogId, getLayoutInflater, getManagedCursors, getMenuInflater, getNextStartedActivityForResult, getOptionsMenu, getParent, getPendingTransitionEnterAnimationResourceId, getPendingTransitionExitAnimationResourceId, getReportFullyDrawn, getRequestedOrientation, getResultCode, getResultIntent, getShowWhenLocked, getSplashScreen, getTaskId, getTurnScreenOn, getVolumeControlStream, getWindow, hasCancelledPendingTransitions, initializeVoiceInteractor, internalCallDispatchActivityResult, isFinishing, isInMultiWindowMode, isInPictureInPictureMode, isLockTask, isTaskRoot, moveTaskToBack, onBackPressed, onCreateOptionsMenu, onDestroy, overridePendingTransition, peekNextStartedActivityForResult, receiveResult, recreate, removeDialog, reportFullyDrawn, requestPermissions, resetIsFinishing, runOnUiThread, setApplication, setCallingActivity, setCallingPackage, setCurrentFocus, setDefaultKeyMode, setInMultiWindowMode, setIsTaskRoot, setLastNonConfigurationInstance, setParent, setRequestedOrientation, setResult, setResult, setShowWhenLocked, setThrowIntentSenderException, setTurnScreenOn, setVolumeControlStream, setWindow, showDialog, showDialog, startIntentSenderForResult, startLockTask, startManagingCursor, stopLockTask, stopManagingCursorMethods inherited from class org.robolectric.shadows.ShadowContextWrapper
clearBroadcastIntents, clearNextStartedActivities, clearStartedServices, denyPermissions, denyPermissions, getAllStartedServices, getBroadcastIntents, getBroadcastIntentsForUser, getBroadcastOptions, getNextStartedActivity, getNextStartedService, getNextStoppedService, grantPermissions, grantPermissions, peekNextStartedActivity, peekNextStartedService, removeSystemService
-
Constructor Details
-
ShadowActivityGroup
public ShadowActivityGroup()
-
-
Method Details
-
getCurrentActivity
-
setCurrentActivity
- Parameters:
activity- Current activity.
-