-
Notifications
You must be signed in to change notification settings - Fork 143
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
defaultSource prop not working #56
Comments
Obviously your test phone is an android device, but defaultSource prop doesn't work on android platform. So you can try it again on an IOS device |
Any option to get it working on Android? |
while loading image image size =0 |
Beacuse defaultSource only ios useful
在 2018年4月20日,下午1:24,William Candillon <notifications@github.com<mailto:notifications@github.com>> 写道:
Why not using the default source as a the preview?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#56 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AWCzi9k5GKxVF_cgSvXGp69fnkKUi1TSks5tqXDygaJpZM4OALQI>.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
for profile page in my app i pass a default empty profile prop as follows
<CachedImage source={imageSrc} style={styles.profileImage} defaultSource={theme.emptyProfile} />
my empty profile image does not show when its loading the real uri image.
is this behaviour right or should i use customImageComponent?
before first load of uri image, nothing gets shown. after that if the image uri changes , the default source is shown correctly. as nothing is shown during the first load my view gets broken and it pops when image gets loaded.
any help would be appreciated.
when loading for first time...see how no default image is not shown
![screenshot_2017-06-21-03-04-43](https://user-images.githubusercontent.com/21057817/27357186-d452ddf6-562e-11e7-9a66-78759a8098bf.png)
![screenshot_2017-06-21-03-04-46](https://user-images.githubusercontent.com/21057817/27357207-e54eb24c-562e-11e7-92bf-1684d9485e1a.png)
![screenshot_2017-06-21-03-05-16](https://user-images.githubusercontent.com/21057817/27357213-e8efa988-562e-11e7-8e87-be2971a3d2c2.png)
after first load
when i fetch second time default prop is shown correctly
The text was updated successfully, but these errors were encountered: