Sobes.tech
Junior — Senior

UI update in Fragment only when active and in new State

livecode

Task condition

Inside the fragment, a subscription to the State object used in the MV pattern is implemented. It is necessary to implement logic such that the fragment's view will only update when the fragment is in an active lifecycle state and a new state value is received.