You can extend AsyncTask class to create an independent thread to call an API. There are 3 methods in it namely, 1. PreExecute() 2. doInBackground() 3.
確定! 回上一頁