Android HashMap in Bundle?

后端 未结 7 2382
眼角桃花
眼角桃花 2020-12-02 11:57

The android.os.Message uses a Bundle to send with it\'s sendMessage-method. Therefore, is it possible to put a HashMap inside a

7条回答
  •  南方客
    南方客 (楼主)
    2020-12-02 12:29

    According to the doc, Hashmap implements Serializable, so you can putSerializable I guess. Did you try it ?

提交回复
热议问题