Skip to content

Fix #2075: Fix ViewModel not clearing on NavigationState pop (nav3)#2079

Open
ArpitDhoundiyal wants to merge 4 commits into
android:mainfrom
ArpitDhoundiyal:fix/viewmodel-oncleared
Open

Fix #2075: Fix ViewModel not clearing on NavigationState pop (nav3)#2079
ArpitDhoundiyal wants to merge 4 commits into
android:mainfrom
ArpitDhoundiyal:fix/viewmodel-oncleared

Fix: Scope ViewModel to backStackEntry to ensure onCleared() is called

4531d7a
Select commit
Loading
Failed to load commit list.
Google CLA / cla/google succeeded Mar 2, 2026 in 6s

✅ All contributors are covered under a CLA with Google

See https://cla.developers.google.com/ for more info about Google's Contributor License Agreement (CLA).

ℹ️ Googlers: Go here to view more details and manage scans for this pull request.

Details

The following contributors were found for this pull request:

4531d7a Author: @ArpitDhoundiyal <arpi********yal​@gmail.com>

(Only the first commit for a unique contributor is listed.)