Domanda

I using HTMLCleaner in AsyncTask, for parse site. How to set timeout in HTMLCleaner or timeout AsyncTask? How to make a break?

È stato utile?

Soluzione

you can user Timer class to set time out period.
https://developer.android.com/reference/java/util/Timer.html

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top