-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Labels
Description
I've tried a lot but no result is seen in the fragment what I did is exactly the same thing your document has said.
ImagePicker.setMinQuality(600, 600); addCoverImage.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { ImagePicker.pickImage((Activity) getContext(), "Select your image:"); } });
and then in onActivityResult() like this :
@Override public void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); Bitmap bitmap = ImagePicker.getImageFromResult(getContext(), requestCode, resultCode, data); addCoverImage.setImageBitmap(bitmap); }
I'm goin to the gallery but when I come back it is null.
Reactions are currently unavailable