-
Notifications
You must be signed in to change notification settings - Fork 21
RadListView sometimes the image doesn't render after binding update #528
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
Comments
Hi @xnramx, Please provide sample project or at least the piece of code, which also demonstrates, how you are changing the image source in the code behind. |
Items.component.ts
items.component.html
|
Hi @xnramx Full code:
TypeScript
Something more, while creating the HTTP request in NativeScript Angular project, the recommended way is to do this with HTTPClient module, instead of the HTTP module, provided by the core modules. A sample code could be found here. For your convenience, I am attaching sample project with the suggested changes. |
It doesn't solve my issue, because:
|
Just to clarify, your sample works because you removed PS: if you scroll down and up all images will be rendered in my 1st project |
Hi @xnramx, Meanwhile, you could just remove the ngIf directive from the Image, which should not change the behaviour of the app. For example:
|
Finally I found the "bug".
|
Hi @xnramx, |
Nop... I have the same issue (render the image that is beeing loaded in background - lazy load). I've attatched the project. And if you really want, you can remove the ActivityIndicator, the image doesn't render. Download the project here |
I had this problem. If Images are in StackLayout it will not load after scrolling or it will not render at all.
|
Hi @meysam-mahmoodi,
|
@tsonevn Yes, I did. I have specified already the height in CSS file. There was just a problem with the StackLayout element. Now it works well without the StackLayout.
|
Hi @meysam-mahmoodi, |
@tsonevn I have no problem now. sorry if I couldn't explain my mind enough good. I removed the |
Please, provide the details below:
Did you verify this is a real problem by searching Stack Overflow?
Yes
Tell us about the problem
When I update a image property (binding) after render the list, sometimes the image doesn't update and other times the image disappear.
Which platform(s) does your issue occur on?
iOS
Please provide the following version numbers that your issue occurs with:
Please tell us how to recreate the issue in as much detail as possible.
The text was updated successfully, but these errors were encountered: