Updating the UI to conform to a given state is a regular task for most Android developers. One of the most common efforts is transitioning between loading, error, and success states coming from an…