本文整理了Java中android.app.Activity.setEnterSharedElementCallback()
方法的一些代码示例,展示了Activity.setEnterSharedElementCallback()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Activity.setEnterSharedElementCallback()
方法的具体详情如下:
包路径:android.app.Activity
类名称:Activity
方法名:setEnterSharedElementCallback
暂无
代码示例来源:origin: iqiyi/Neptune
@RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)
@Override
public void setEnterSharedElementCallback(android.app.SharedElementCallback sharedelementcallback0) {
mOriginActivity.setEnterSharedElementCallback(sharedelementcallback0);
}
代码示例来源:origin: xuningjack/RequestPermission
public static void setEnterSharedElementCallback(Activity activity,
SharedElementCallback23 callback) {
activity.setEnterSharedElementCallback(createCallback(callback));
}
代码示例来源:origin: xuningjack/RequestPermission
public static void setEnterSharedElementCallback(Activity activity,
SharedElementCallback21 callback) {
activity.setEnterSharedElementCallback(createCallback(callback));
}
代码示例来源:origin: kingargyle/adt-leanback-support
public static void setEnterSharedElementCallback(Activity activity,
SharedElementCallback21 callback) {
activity.setEnterSharedElementCallback(createCallback(callback));
}
代码示例来源:origin: tyrex-team/senslogs
@TargetApi(Build.VERSION_CODES.LOLLIPOP)
public EnterSharedElementTextSizeHandler(Activity activity) {
mActivity = activity;
Transition transitionWindow = activity.getWindow().getSharedElementEnterTransition();
if (!(transitionWindow instanceof TransitionSet)) {
mTransitionSet = new TransitionSet();
mTransitionSet.addTransition(transitionWindow);
} else {
mTransitionSet = (TransitionSet) transitionWindow;
}
activity.setEnterSharedElementCallback(this);
}
代码示例来源:origin: stackoverflow.com
activity.setEnterSharedElementCallback(this);
内容来源于网络,如有侵权,请联系作者删除!