synchronized (Thread.currentThread()) { try { messageItemAdapter.notifyAll(); } catch (Exception e) { e.printStackTrace(); } }
java.lang.IllegalMonitorStateException: object not locked by thread before notify()
最新推荐文章于 2024-06-25 18:11:39 发布
synchronized (Thread.currentThread()) { try { messageItemAdapter.notifyAll(); } catch (Exception e) { e.printStackTrace(); } }