Basically at the moment I'm showing a loading screen (loading.setVisibility(View.VISIBLE);
) then loading some external data using a "BufferedReader" and then hiding the loading screen (loading.setVisibility(View.INVISIBLE);
) afterwards. The problem is the loading screen is never shown. The code is all in the correct place the GUI just doesn't update until the end of the method when it is obviously too late because the loading screen is set to invisible again.
Is there any way to force update the UI mid way through a method?
Any help would be much appreciated!