Can't create handler inside thread that has not called Looper를 해결합니다.prepare() inside AsyncTask

8354 단어 threadClass
class LoadData extends AsyncTask {     private Handler mHandler = new Handler(Looper.getMainLooper());     @Override     public void run() {        // ...        mHandler.post(new Runnable() {           public void run() {           }        });        // ...      } }

좋은 웹페이지 즐겨찾기