WinDeath on notifyDataSetChanged()
问题 Hi I have following problem: data.clear(); data.addAll(datasource.getFilesInFolder()); //gets the data from Sqlite database adapter.notifyDataSetChanged(); generates this logCat output : 12-19 14:34:30.864: W/Binder(986): Caught a RuntimeException from the binder stub implementation. 12-19 14:34:30.864: W/Binder(986): java.lang.NullPointerException 12-19 14:34:30.864: W/Binder(986): at android.inputmethodservice.IInputMethodWrapper.setSessionEnabled(IInputMethodWrapper.java:280) 12-19 14:34