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 Activity
getCurrentActivity()
void
setCurrentActivity(Activity activity)
Methods inherited from class org.robolectric.shadows.ShadowActivity
attachController, callAttach, callAttach, callOnActivityResult, 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, getTaskId, 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, setThrowIntentSenderException, setVolumeControlStream, setWindow, showDialog, showDialog, startIntentSenderForResult, startLockTask, startManagingCursor, stopLockTask, stopManagingCursor
Methods 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.
-