please include function loading. static void startedLoading() { loading_value = true; }