Android progress dialog

后端 未结 5 1509
猫巷女王i
猫巷女王i 2020-12-09 06:25

My application fetches some html code from the internet and when done , displays it on the devices screen. Since it takes about 3-4 seconds to do that , in this time the scr

5条回答
  •  余生分开走
    2020-12-09 07:23

    You need to do this way

    runOnUiThread(new Runnable() {
        public void run() {
          // Do Your Stuff
        }});
    

提交回复
热议问题