Why is it possible to write a boolean array to a parcel but not a boolean?

后端 未结 2 1830
我寻月下人不归
我寻月下人不归 2021-01-03 19:59

In the documentation for the Parcel it states a method exists

public final void writeBooleanArray (boolean[] val) 

But there is no method f

2条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-03 20:15

    There is an open bug report on it:

    http://code.google.com/p/android/issues/detail?id=5973

    Evidently others agree with your assessment (and I do too).

提交回复
热议问题