Maui App Lifecycle

dotnet/skills/plugins/dotnet-maui/skills/maui-app-lifecycle

作者 dotnet0608d8924cd3MIT5.5K 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫今天更新

.NET MAUI app lifecycle guidance — the four app states, cross-platform Window lifecycle events (Created, Activated, Deactivated, Stopped, Resumed, Destroying), platform-specific lifecycle mapping, backgrounding and resume behavior, and state-preservation patterns. USE FOR: "app lifecycle", "window lifecycle events", "save state on background", "resume app", "OnStopped", "OnResumed", "backgrounding", "deactivated event", "ConfigureLifecycleEvents", "platform lifecycle hooks". DO NOT USE FOR: navigation events (use maui-shell-navigation), dependency injection setup (use maui-dependency-injection), platform API invocation (use conditional compilation and partial classes).

僅公開檔案列表。將技能安裝到工作區後即可檢視檔案內容。

路徑大小類型
references/lifecycle-api.md5.5 KBtext/markdown
SKILL.md9 KBtext/markdown

來源與署名

來源:dotnet/skills位於plugins/dotnet-maui/skills/maui-app-lifecycle提交0608d89

授權條款: MIT

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架