I am trying to update the UI depending on whether the data is being loaded or has loaded but it is not working properly. I am using enum class for different sta
enum