保存 mBlackArray時(shí)候報(bào)錯(cuò)
bundle.putParcelableArrayList(INSTANCE_BLACK_ARRAY,mBlackArray); 最后怎么報(bào)錯(cuò) ? ? ? ?ivate ArrayList
mWhiteArray = new ArrayList<>(); ? ?private ListmBlackArray = new ArrayList<>();bundle.putParcelableArrayList(INSTANCE_BLACK_ARRAY,mBlackArray); 最后怎么報(bào)錯(cuò) ? ? ? ?ivate ArrayList
mWhiteArray = new ArrayList<>(); ? ?private ListmBlackArray = new ArrayList<>();2016-06-20
舉報(bào)
2016-06-21
翻轉(zhuǎn)屏幕時(shí)候報(bào)錯(cuò)這個(gè)Caused by: java.lang.IllegalArgumentException: Wrong state class, expecting View State but received class android.os.Bundle instead. This usually happens when two views of different type have the same id in the same hierarchy. This view's id is id/wuziqi. Make sure other views do not use the same id.
2016-06-21
要把mBlackArray的類型也換成 ArrayList和mWhiteArray是一樣的