Sqlite Access From Multiple Threads For Reading
there are similar questions but not clear answer around using sqlite db from multiple threads. Consider the following scenario: class MainActivity extends Activity { DbHelper db; /
Solution 1:
ya there is a chance of not collision but your db may close when another thread is aquired, you can go for "Synchronized" concept of thread ie priority and etc when we use synchronized keyword then, one thread completes it task then other thread will starts
Post a Comment for "Sqlite Access From Multiple Threads For Reading"