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
-
Fields inherited from class org.robolectric.shadows.ShadowActivity
realActivity
-
-
Constructor Summary
Constructors Constructor Description ShadowActivityGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Activity
getCurrentActivity()
void
setCurrentActivity(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, getSplashScreen, 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.ShadowContextThemeWrapper
callGetThemeResId
-
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
-
-
-
-
Method Detail
-
getCurrentActivity
@Implementation protected Activity getCurrentActivity()
-
setCurrentActivity
public void setCurrentActivity(Activity activity)
- Parameters:
activity
- Current activity.
-
-