CardActionsListView shows duplicate images for the first time in MAUI WINUI

1 Answer 57 Views
ListView (obsolete)
Mohammed Rameez
Top achievements
Rank 1
Iron
Iron
Mohammed Rameez asked on 22 Oct 2024, 07:51 AM

Hi Team,

I am using CardActionsListView to display the images.

This works fine with Android and IOS, whereas in WINUI when uploaded an image it shows duplicate images, when refreshed the list it shows only one.

 

Can you provide any fix for this.

 

Thanks & Best Regards,

Mohammed Rameez Raza (Rameez)

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 22 Oct 2024, 01:51 PM

Hello Mohammed,

I would need more information on the concrete use case you have - at least the ListView definition, the code for binding and updating the images, any additional details you find relevant. If you can isolate it in a simple runnable app and send it over, that would be of great help.

I'll be looking forward to your reply.

Regards,
Yana
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Mohammed Rameez
Top achievements
Rank 1
Iron
Iron
commented on 23 Oct 2024, 04:47 AM | edited

Hi Yana,

 

Issue with CardActionsListView and not ListView.

 

CardActionsListView is not under the tags, that's the reason I selected ListView.

 

Thanks & Best Regards,

Mohammed Rameez Raza.

Yana
Telerik team
commented on 23 Oct 2024, 06:31 AM

We do not have such a control named CardActionsListView, I guess it's some custom implementation based on the ListView or another control with ItemTemplate pre-defined.  Please send me at least its definition, as currently I do not have a clue what's the scenario and the issue you've reported.
Mohammed Rameez
Top achievements
Rank 1
Iron
Iron
commented on 23 Oct 2024, 12:27 PM

 

You can check here, there is a control with this name.

Didi
Telerik team
commented on 24 Oct 2024, 07:36 AM

Hi Mohammed,

I assume you use the CardActionsListView control in a combination with the RadChat control? Is this correct? Note that the CardActionsListView control is not released as a separate control. In addition the control inherits from the NonVirutualizedItemsControl, so there isn't a virtualization. I am not sure in what scenario you are using the control. Please send me the complete page where the control is added, and a sample project. If you do not want to send the code in the forum, you can open a support ticket. 

Alternative approach for images:

Use FFImageLoading's CacheImage control instead of MAUI.Image. FFImageLoading is a crowd favorite for Xamarin.Forms and also for .NET MAUI, here are some resources you can use:

YouTube video: https://www.youtube.com/watch?v=sDtx5ORYrmw&ab_channel=GeraldVersluis 

GitHub page: https://github.com/luberda-molinet/FFImageLoading 
Mohammed Rameez
Top achievements
Rank 1
Iron
Iron
commented on 29 Oct 2024, 06:10 AM | edited

Hi Yana,

I am using CardActionsListView, inside a tab view, is there any issue with this combination.

 

Thanks.

Didi
Telerik team
commented on 29 Oct 2024, 08:31 AM

Hi Mohammed,

Send me the page where the behavior happens. Also let me know whether the FFImageLoading approach solved the issue?

Another note is that the CardActionsListView is not released as a separate control, it is part from the Chat control, so using it separately is your decision. I can suggest you use RadCollectionView, ItemsControl, etc.

Please send details for the requested information. 

Tags
ListView (obsolete)
Asked by
Mohammed Rameez
Top achievements
Rank 1
Iron
Iron
Answers by
Yana
Telerik team
Share this question
or