<How to cancel progress bar of Main Activity when ...
# stackoverflow
u
How to cancel progress bar of Main Activity when moving to a Fragment? I show a spinning progress bar before beginning a fragment. The run debugger shows that it is still running after the fragment is running and functioning. Is there a proper way to end it? I simply want the user to know that something is happening while they wait (network connections, etc). To expand a bit, the run monitoring of the emulator shows many lines like D/eglCodecCommon: setVertexArrayObject and these don't occur if I comment out the View.VISIBLE line of code...