java类android.preference.PreferenceManager.OnActivityResultListener的实例源码

Cocos2dxActivity.java 文件源码 项目:cocos2dx-explode-animation 阅读 25 收藏 0 点赞 0 评论 0
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data)
{
    for (OnActivityResultListener listener : Cocos2dxHelper.getOnActivityResultListeners()) {
        listener.onActivityResult(requestCode, resultCode, data);
    }

    super.onActivityResult(requestCode, resultCode, data);
}
Cocos2dxActivity.java 文件源码 项目:cocos-prebuilt-template 阅读 25 收藏 0 点赞 0 评论 0
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data)
{
    for (OnActivityResultListener listener : Cocos2dxHelper.getOnActivityResultListeners()) {
        listener.onActivityResult(requestCode, resultCode, data);
    }

    super.onActivityResult(requestCode, resultCode, data);
}
Cocos2dxHelper.java 文件源码 项目:cocos2dx-explode-animation 阅读 134 收藏 0 点赞 0 评论 0
public static void addOnActivityResultListener(OnActivityResultListener listener) {
    onActivityResultListeners.add(listener);
}
Cocos2dxHelper.java 文件源码 项目:cocos2dx-explode-animation 阅读 28 收藏 0 点赞 0 评论 0
public static Set<OnActivityResultListener> getOnActivityResultListeners() {
    return onActivityResultListeners;
}
Cocos2dxHelper.java 文件源码 项目:cocos-prebuilt-template 阅读 25 收藏 0 点赞 0 评论 0
public static void addOnActivityResultListener(OnActivityResultListener listener) {
    onActivityResultListeners.add(listener);
}
Cocos2dxHelper.java 文件源码 项目:cocos-prebuilt-template 阅读 26 收藏 0 点赞 0 评论 0
public static Set<OnActivityResultListener> getOnActivityResultListeners() {
    return onActivityResultListeners;
}


问题


面经


文章

微信
公众号

扫码关注公众号