Inflearn Community Q&A
loader.start() 오류
Written on
·
182
0
1)loader.start() 앞뒤로 try catch를 안넣으면 오류가 나는데 이유가 뭘까요? 나머지는 다 똑같이 했습니다ㅜ
public class Browser implements OnDownloadListener {
public void imgClick() {
Downloader loader = new Downloader(this);
try {
loader.start();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
@Override
public void onDownFinish() {
System.out.println("Browser : onDownFinish()");
}
@Override
public void onDownFailed() {
}
}
androidjava
Answer
This question is waiting for answers
Be the first to answer!





