Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set three circle image view in same activity #416

Closed
stekendak01 opened this issue May 13, 2021 · 1 comment
Closed

Set three circle image view in same activity #416

stekendak01 opened this issue May 13, 2021 · 1 comment

Comments

@stekendak01
Copy link

Hi,
This isn't about an issue but a newbie looking for help.

I have an "setting Activity" with a circle image view for the profile picture, but also 3 others smaller circle image view to show images relatives to the user; for now just the profile picture is stored on firebase but i'm willing to store all images on firebase.

Once the user set all image (with croping activity), he can save with the button save.

How should i modify the OnActivityResult to succeed?
protected void onActivityResult(int requestCode, int resultCode, Intent data)
{
super.onActivityResult(requestCode, resultCode, data);

    if (requestCode == CropImage.CROP_IMAGE_ACTIVITY_REQUEST_CODE  &&  resultCode==RESULT_OK  &&  data!=null)
    {
        CropImage.ActivityResult result = CropImage.getActivityResult(data);
        imageUri = result.getUri();

        profileImageView.setImageURI(imageUri);
    }
    else
Repository owner deleted a comment from ilhamhaikalanwar Oct 25, 2021
@hdodenhof
Copy link
Owner

Closing this as it's certainly obsolete by now - sorry, was quite inactive here for a while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants