From 231fd37e5545e23ec59de3c43f61b7d3a62f3ea7 Mon Sep 17 00:00:00 2001 From: Petr Babicka Date: Sun, 9 Apr 2017 13:14:51 +0200 Subject: [PATCH] Update Fragment's onActivityResult According to https://developer.android.com/reference/android/app/Fragment.html#onActivityResult(int, int, android.content.Intent) fragment's onActivityResult is public. --- README_en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README_en.md b/README_en.md index fef07ab..c3897b6 100644 --- a/README_en.md +++ b/README_en.md @@ -49,7 +49,7 @@ compile 'com.linchaolong.android:imagepicker:${latest.version}' 2. call `onActivityResult` and `onRequestPermissionsResult` method in your Activity/Fragment: ``` - @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { + @Override protected/public void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); imagePicker.onActivityResult(activity/fragment, requestCode, resultCode, data); }