Open dean-toolhound opened 3 weeks ago
Thanks Enis. I will give that a try.
From: Enis Necipoglu @.> Sent: Wednesday, April 17, 2024 4:43 PM To: enisn/UraniumUI @.> Cc: Dean Perry @.>; Author @.> Subject: Re: [enisn/UraniumUI] Tabview - show an activity indicator when loading tab contents (Issue #657)
I've tried something like that, but rendering tab content is in main thread and block rendering, when I add activity indicator, it freezes and doesn't run while loading tab content. Because adding views into logical tree and then creating native views operation is done in main thread and it has to be. But still, you can use LazyViewhttps://learn.microsoft.com/en-us/dotnet/communitytoolkit/maui/views/lazyview from Community Toolkit
— Reply to this email directly, view it on GitHubhttps://github.com/enisn/UraniumUI/issues/657#issuecomment-2062599431, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKOELOTHNZJZGEIDLPU2RELY533H3AVCNFSM6AAAAABGMC6KBOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRSGU4TSNBTGE. You are receiving this because you authored the thread.Message ID: @.**@.>>
I've tried something like that, but rendering tab content is in main thread and block rendering, when I add activity indicator, it freezes and doesn't run while loading tab content. Because adding views into logical tree and then creating native views operation is done in main thread and it has to be. But still, you can try to use LazyView from Community Toolkit