Refresh ListView

Ronald Rex 1,666 Reputation points
2023-06-01T18:51:57.0466667+00:00

Hi Friends,

I am having trouble updating my ListView in .Net Maui. I am using the below code to Remove the initial value and Insert the updated value. And its strange that it will only update the first item in the ListView fine, but will not work with any other items. Greatly appreciate any help !

Userdefinedfields.RemoveAt(idx);
Userdefinedfields.Insert(idx, tmp);
Developer technologies .NET .NET MAUI
Developer technologies C#
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.