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.
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.