Reputation: 1122
I was to store nonserializable object to sqlite in android. but its give me error of object is not Serializable. i just want to know, is that possible or any another way to store this objects ?
Thanks in advance.
Upvotes: 1
Views: 220
Reputation: 602
Go through below,
class MyArrayList<BlutoothGattService> extends ArrayList<BlutoothGattService> implements Serializable{
}
Then use this class instead of ArrayList and you can easily Serialize object of this class.
I think it will help.
Upvotes: 1