本文整理了Java中android.app.Activity.startActivityFromChild()
方法的一些代码示例,展示了Activity.startActivityFromChild()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Activity.startActivityFromChild()
方法的具体详情如下:
包路径:android.app.Activity
类名称:Activity
方法名:startActivityFromChild
暂无
代码示例来源:origin: com.uphyca/android-junit4-robolectric
/**
* @param child
* @param intent
* @param requestCode
* @see android.app.Activity#startActivityFromChild(android.app.Activity,
* android.content.Intent, int)
*/
public void startActivityFromChild(Activity child,
Intent intent,
int requestCode) {
mActivity.startActivityFromChild(child, intent, requestCode);
}
代码示例来源:origin: iqiyi/Neptune
@Override
public void startActivityFromChild(android.app.Activity activity0, android.content.Intent intent1, int int2) {
mOriginActivity.startActivityFromChild(activity0, intent1, int2);
}
代码示例来源:origin: com.uphyca/android-junit4-robolectric
/**
* @param child
* @param intent
* @param requestCode
* @param options
* @see android.app.Activity#startActivityFromChild(android.app.Activity,
* android.content.Intent, int, android.os.Bundle)
*/
public void startActivityFromChild(Activity child,
Intent intent,
int requestCode,
Bundle options) {
mActivity.startActivityFromChild(child, intent, requestCode, options);
}
代码示例来源:origin: iqiyi/Neptune
@RequiresApi(api = Build.VERSION_CODES.JELLY_BEAN)
@Override
public void startActivityFromChild(android.app.Activity activity0, android.content.Intent intent1, int int2, android.os.Bundle bundle3) {
mOriginActivity.startActivityFromChild(activity0, intent1, int2, bundle3);
}
代码示例来源:origin: ManbangGroup/Phantom
@RequiresApi(api = Build.VERSION_CODES.JELLY_BEAN)
@Override
public void startActivityFromChild(@NonNull Activity child, @RequiresPermission Intent intent,
int requestCode, @Nullable Bundle options) {
mContentProxy.getContext().startActivityFromChild(child,
mContentProxy.setActivityIntentExtra(intent), requestCode, options);
}
代码示例来源:origin: ManbangGroup/Phantom
@Override
public void startActivityFromChild(@NonNull Activity child, @RequiresPermission Intent intent, int requestCode) {
mContentProxy.getContext().startActivityFromChild(child,
mContentProxy.setActivityIntentExtra(intent), requestCode);
}
内容来源于网络,如有侵权,请联系作者删除!