Hi i have an issue with my compose ui when display...
# compose
t
Hi i have an issue with my compose ui when displaying list data, a have a number of cases where the list is empty i). data exists, its just taking a long time to be retrieved from the remote server. ii). data exists, its just taking some time to load from the local database. iii). data does not exist at all. for the last case (iii) i have a dialog that allows the user to configure their settings to start recieving data for the other two cases (which are very similar) i just show the loading spinner. my issue is the dialog "flashes" up randomly when there is data its just taking some time especially when the user navigates to and from my screens with different list data is there an approach i can employ (a pattern) where i wait for a definitive answer to whether or not i have data before showing the correct ui?