Estou com um problema em um projeto Android. Criei um aplicativo WebView de uma site responsivo e coloquei Progress Dialog nos links para o usuário não ficar com a tela congelada enquanto não carrega. Conforme código abaixo
}
You should replace MyMainActivity in the ProgressDialog constructor with the name of the calling activity. Note also that this example doesn’t actually do anything - it just sleeps for 5 seconds and then finishes. To start the task, you can use the following:
1
2
BackgroundTask task = new BackgroundTask(MyMainActivity.this);
task.execute();
Bom Trabalho @Ruivao por mesmo assim postar isso ajuda muito nossa comunidade!
Caso ninguem responda pode me comentar no seu post que farei o possivel para ajudar @Ferreiranobre