jeudi 7 avril 2016

Is it safe to access a SQLite virtual table from UI thread on android?

I need to maintain a data table of string columns with full text searching enabled for all the columns.

I understand from Android documentation:

A virtual table behaves similarly to a SQLite table, but reads and writes to an object in memory via callbacks, instead of to a database file.

Would it be safe to use a SQLite virtual table for the purpose and access the table from main UI thread on android without getting an ANR?

Or should I go for one of the third party options like:

http://ift.tt/1WewFQc

http://ift.tt/1M4T5hP

Aucun commentaire:

Enregistrer un commentaire