Using AsyncTask for android network connection

后端 未结 3 1389
时光说笑
时光说笑 2020-12-03 16:32

I am having some trouble using AsyncTask as I have never come across it before and have no clue what I am doing with it.

Basically I am getting a force

3条回答
  •  情书的邮戳
    2020-12-03 17:11

    Go through this simple tutorial to get a good grounding on what an AsyncTask is and how to use it:

    https://androidresearch.wordpress.com/2012/03/17/understanding-asynctask-once-and-forever/

    Then try modifying your code to use async tasks. If you get problems, Just come back here :-)

提交回复
热议问题