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

The image does't load correctly the first time you run the app #115

Closed
johnjeremih opened this issue Dec 2, 2019 · 5 comments
Closed

The image does't load correctly the first time you run the app #115

johnjeremih opened this issue Dec 2, 2019 · 5 comments

Comments

@johnjeremih
Copy link

johnjeremih commented Dec 2, 2019

I tried with several phones and it continues to happen, but when I go to another layout and then come back it goes back to normal. This issue started after you include the gradients.
Screen Shot 2019-12-02 at 1 02 58 PM

@lopspower
Copy link
Owner

Hello,
can you send me more information about this issue (code, image..). I can't reproduce it.

@johnjeremih
Copy link
Author

johnjeremih commented Dec 5, 2019

I will attach some screenshots. This happens the first time you boot the app, if you go to another fragment and go back it doesn’t have again.

Screen Shot 2019-12-04 at 9 01 48 PM

Screen Shot 2019-12-04 at 9 00 05 PM

Screen Shot 2019-12-04 at 9 05 21 PM

@johnjeremih
Copy link
Author

I found out the reason why is it looks like that. The problem only happens with Java. In Kotlin works fine

@lopspower
Copy link
Owner

lopspower commented Dec 6, 2019

Hello, I found out the problem. It's from the method drawableToBitmap. I will deploy new version of the library today with the fix.

@lopspower
Copy link
Owner

This is fix on the last version:

implementation 'com.mikhaellopez:circularimageview:4.1.1'

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