일단 쓰레드를 사용하고 있구요.


ListView를 setAdapter를 통해 셋팅 해주어 불러온 후

추후에 리스트뷰의 내용을 바꾸기 위해서

내용의 변화가 있을 때 마다


mHandler.sendEmptyMessageDelayed(MUSIC_VIEW_REF2, 1000);


위와 같이 핸들러를 통해 아래의 내용들을 불러옵니다.

어떨때는 잘되는데 어떨때는 에러가 나구요..



music_thread.interrupt();

music_thread = null;

ia.notifyDataSetChanged();

mListView.setAdapter(ia);

mListView.setSelector(color.transparent);

Click_Music_Main();


아래는 로그입니다.

11-01 13:34:18.808: E/AndroidRuntime(22402): java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is not modified from a background thread, but only from the UI thread. 


혹시 리스트 내용이 변하지 않았음에도 notifyDataSetChanged가 불려진다면 문제가 되나요?

종종 에러가 나서 죽겠습니다.ㅠㅠ
도움 부탁드립니다.