java.lang.IllegalArgumentException: Wrong state class, expecting View State but received class com.google.android.material.button.MaterialButton$SavedState instead. This usually happens when two views of different type have the same id in the same hierarchy
我的解决方式是xml中不使用默认的Button, 而是使用compactButton
这个方式是避开了这个问题, 但是仍然未解决这个问题



