开发者

Android sqlite InsertHelper

开发者 https://www.devze.com 2023-03-08 16:32 出处:网络
i have arraylist of custom object(title a开发者_StackOverflownd id) arraylist of size 7000+ ,i have created it from the json ,then i need to insert it in db,for this i have using insertHelper ,it seem

i have arraylist of custom object(title a开发者_StackOverflownd id) arraylist of size 7000+ ,i have created it from the json ,then i need to insert it in db,for this i have using insertHelper ,it seems faster ,but i need to complete the insertion with in 10 to 15 s


while inserting into the arraylist , just create one more thread to insert into the sqlitedatabase database.

0

精彩评论

暂无评论...
验证码 换一张
取 消