Migliorata sincronizzazione dei dati

This commit is contained in:
2025-09-03 17:26:55 +02:00
parent 374b99501e
commit 8508820350
6 changed files with 107 additions and 60 deletions

View File

@@ -6,4 +6,16 @@ public class UserListState
{
public List<UserDisplayItem>? GroupedUserList { get; set; }
public List<UserDisplayItem>? FilteredGroupedUserList { get; set; }
}
public bool IsLoaded { get; set; }
public bool IsLoading { get; set; }
public event Action? OnUsersLoaded;
public void NotifyUsersLoaded()
{
IsLoaded = true;
IsLoading = false;
OnUsersLoaded?.Invoke();
}
}