How make Avatar show busy while loading image

Hi,

Is there any way to make the avatar show a busy indicator over it whilst the image is loading?

If you set the ImageSource to a Uri that points to a location on a server somewhere, there is a delay whilst the image is downloaded (how long depends on the users connection). It would be great if the avatar has a circular progress over it to show it's busy whilst this is taking place.

Thanks!


3 Replies

SS Suganya Sethuraman Syncfusion Team November 29, 2021 11:20 AM UTC

Hi Alan,

Greetings from Syncfusion.

We have analyzed your requirement. We have prepared a sample using SfAvatarView and SfBusyIndicator.

Please have a sample for your reference,

Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/AvatarView_Busy1211905658
 
Please check and let us know if you have any concerns.

Regards,
Suganya Sethuraman.   
 
 



AR Alan Richert November 29, 2021 11:50 AM UTC

Hi,


Thank you. Whilst it works, it is not ideal (time could vary so sometimes might look good and sometimes not).

Perhaps a feature suggestion for the team, is if you could expose a boolean property on sfAvatarView that indicates an image load is in progress, whilst the internals fetches and prepares the image.


Thank you.



SS Suganya Sethuraman Syncfusion Team November 30, 2021 04:09 PM UTC

Hi Dan Gerchcovich,

Currently, we don't have the support for your requirement. We would like to inform you that we have considered this as feature request “Provide indication support for image loading is in progress” and you can track the status of this feature implements through the below link.

Feedback link: https://www.syncfusion.com/feedback/30792

Please cast your vote to make it count. We will prioritize the features every release based on the demands, and we do not have an immediate plan to implement this feature since we committed with already planned work. So, this feature will be available in any of our upcoming releases. 

If you have any more specifications/suggestions to the feature request, you can add it as a comment in the portal.

Regards,
Suganya Sethuraman.
 


Loader.
Up arrow icon