UI not updating after API Call

Ask, find and get answers about the Android OS
Grace Ob
Reviewer
Posts:6
Joined:Fri Aug 12, 2022 3:14 pm
UI not updating after API Call

Postby Grace Ob » Tue Nov 18, 2025 12:44 pm

Hi All,
I’m facing an issue in my Android app where the UI is not updating even though the API call returns the correct data. I’m using ViewModel + LiveData. The LiveData value updates (I confirmed in logs), but the Fragment UI doesn’t refresh unless I rotate the device or navigate back and forth. I already tried observe (viewLifecycleOwner) and ensured I’m not using the Activity as the lifecycle owner. Still no change.

Has anyone faced this before? Any idea what might be causing the observer not to trigger?



Return to “Questions about Android”

Who is online

Users browsing this forum: No registered users and 0 guests