From 7c7c33e2e191bc5a06a652f6e264b43b54021ea5 Mon Sep 17 00:00:00 2001 From: Tomas Havlicek Date: Mon, 21 Dec 2020 17:29:43 +0100 Subject: [PATCH] Update loading_state visibility When the return type in a Dao is Flow, querying an empty table emits an empty list, thus resulting into hiding the container view prematurely. Updating the visibility by a resource status fixes this case. --- GithubBrowserSample/app/src/main/res/layout/loading_state.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GithubBrowserSample/app/src/main/res/layout/loading_state.xml b/GithubBrowserSample/app/src/main/res/layout/loading_state.xml index ca71eaa1..14119dd1 100644 --- a/GithubBrowserSample/app/src/main/res/layout/loading_state.xml +++ b/GithubBrowserSample/app/src/main/res/layout/loading_state.xml @@ -34,7 +34,7 @@