更新时间:2023-02-17 13:52:00
其实我发现我的问题的解决方案,但在另一个没有回答question:
Actually i found solution for my problem, but not answer in another question:
在这里,在Pracelable是如何工作的,您用布尔值:
Here is how can You work with booleans in Pracelable:
.....
// Write:
out.writeByte((byte) (booleanValue ? 1 : 0));
....
// Read:
boolValue = in.readByte() == 1;