{"action":"closed","issue":{"url":"https://api.github.com/repos/lovetuzitong/MultiImageSelector/issues/14","labels_url":"https://api.github.com/repos/lovetuzitong/MultiImageSelector/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/lovetuzitong/MultiImageSelector/issues/14/comments","events_url":"https://api.github.com/repos/lovetuzitong/MultiImageSelector/issues/14/events","html_url":"https://github.com/lovetuzitong/MultiImageSelector/issues/14","id":85580558,"number":14,"title":"点击左下角“所有照片”报错","user":{"login":"shengoo","id":2246183,"avatar_url":"https://avatars.githubusercontent.com/u/2246183?v=3","gravatar_id":"","url":"https://api.github.com/users/shengoo","html_url":"https://github.com/shengoo","followers_url":"https://api.github.com/users/shengoo/followers","following_url":"https://api.github.com/users/shengoo/following{/other_user}","gists_url":"https://api.github.com/users/shengoo/gists{/gist_id}","starred_url":"https://api.github.com/users/shengoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shengoo/subscriptions","organizations_url":"https://api.github.com/users/shengoo/orgs","repos_url":"https://api.github.com/users/shengoo/repos","events_url":"https://api.github.com/users/shengoo/events{/privacy}","received_events_url":"https://api.github.com/users/shengoo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-05T16:55:22Z","updated_at":"2015-06-07T06:34:44Z","closed_at":"2015-06-07T06:34:44Z","body":"在FragmentActivity中调用的\r\n\r\n```\r\nIntent intent = new Intent(MainActivity.this, MultiImageSelectorActivity.class);\r\n\r\n// 是否显示调用相机拍照\r\nintent.putExtra(MultiImageSelectorActivity.EXTRA_SHOW_CAMERA, true);\r\n\r\n// 最大图片选择数量\r\nintent.putExtra(MultiImageSelectorActivity.EXTRA_SELECT_COUNT, 9);\r\n\r\n// 设置模式 (支持 单选/MultiImageSelectorActivity.MODE_SINGLE 或者 多选/MultiImageSelectorActivity.MODE_MULTI)\r\nintent.putExtra(MultiImageSelectorActivity.EXTRA_SELECT_MODE, MultiImageSelectorActivity.MODE_MULTI);\r\n\r\nstartActivityForResult(intent, Constants.PICK_IMAGE_REQUEST_CODE);\r\n```\r\n\r\n```\r\n@Override\r\n    protected void onActivityResult(int requestCode, int resultCode, Intent data) {\r\n\r\n        super.onActivityResult(requestCode, resultCode, data);\r\n        if(requestCode == Constants.PICK_IMAGE_REQUEST_CODE){\r\n            if(resultCode == RESULT_OK){\r\n                // 获取返回的图片列表\r\n                List<String> path = data.getStringArrayListExtra(MultiImageSelectorActivity.EXTRA_RESULT);\r\n                // 处理你自己的逻辑 ....\r\n                for(String pic:path){\r\n                    System.out.println(\"pic:\" + pic);\r\n                }\r\n            }\r\n        }\r\n    }\r\n```\r\n\r\n```\r\n06-06 00:47:03.093  12159-12159/com.sheng00.app.hu I/dalvikvm﹕ Could not find method android.widget.PopupWindow.showAsDropDown, referenced from method android.support.v7.internal.widget.AppCompatPopupWindow.showAsDropDown\r\n06-06 00:47:03.093  12159-12159/com.sheng00.app.hu W/dalvikvm﹕ VFY: unable to resolve virtual method 12719: Landroid/widget/PopupWindow;.showAsDropDown (Landroid/view/View;III)V\r\n06-06 00:47:03.093  12159-12159/com.sheng00.app.hu D/dalvikvm﹕ VFY: replacing opcode 0x6f at 0x000f\r\n06-06 00:47:03.093  12159-12159/com.sheng00.app.hu I/dalvikvm﹕ Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.internal.widget.TintTypedArray.getChangingConfigurations\r\n06-06 00:47:03.093  12159-12159/com.sheng00.app.hu W/dalvikvm﹕ VFY: unable to resolve virtual method 616: Landroid/content/res/TypedArray;.getChangingConfigurations ()I\r\n06-06 00:47:03.093  12159-12159/com.sheng00.app.hu D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0002\r\n06-06 00:47:03.093  12159-12159/com.sheng00.app.hu I/dalvikvm﹕ Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.internal.widget.TintTypedArray.getType\r\n06-06 00:47:03.093  12159-12159/com.sheng00.app.hu W/dalvikvm﹕ VFY: unable to resolve virtual method 638: Landroid/content/res/TypedArray;.getType (I)I\r\n06-06 00:47:03.093  12159-12159/com.sheng00.app.hu D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0002\r\n06-06 00:47:03.093  12159-12159/com.sheng00.app.hu W/dalvikvm﹕ method Landroid/support/v7/internal/widget/ListViewCompat;.lookForSelectablePosition incorrectly overrides package-private method with same name in Landroid/widget/ListView;\r\n06-06 00:47:03.133  12159-12159/com.sheng00.app.hu D/AndroidRuntime﹕ Shutting down VM\r\n06-06 00:47:03.133  12159-12159/com.sheng00.app.hu W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0x3c9b3ad8)\r\n06-06 00:47:03.143  12159-12159/com.sheng00.app.hu E/AndroidRuntime﹕ FATAL EXCEPTION: main\r\n    java.lang.NullPointerException\r\n            at android.support.v7.internal.widget.ListViewCompat.drawableStateChanged(ListViewCompat.java:91)\r\n            at android.view.View.refreshDrawableState(View.java:14613)\r\n            at android.view.View.dispatchAttachedToWindow(View.java:12170)\r\n            at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2454)\r\n            at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2461)\r\n            at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1207)\r\n            at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1004)\r\n            at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5481)\r\n            at android.view.Choreographer$CallbackRecord.run(Choreographer.java:749)\r\n            at android.view.Choreographer.doCallbacks(Choreographer.java:562)\r\n            at android.view.Choreographer.doFrame(Choreographer.java:532)\r\n            at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:735)\r\n            at android.os.Handler.handleCallback(Handler.java:730)\r\n            at android.os.Handler.dispatchMessage(Handler.java:92)\r\n            at android.os.Looper.loop(Looper.java:137)\r\n            at android.app.ActivityThread.main(ActivityThread.java:5136)\r\n            at java.lang.reflect.Method.invokeNative(Native Method)\r\n            at java.lang.reflect.Method.invoke(Method.java:525)\r\n            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:740)\r\n            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)\r\n            at dalvik.system.NativeStart.main(Native Method)\r\n```"}}