Closed j386621930 closed 7 years ago
No, SQLite and therefore greenDAO is thread-safe. You only have to be careful with queries and be aware that greenDAO caches entities.
When your app is closed (by the user or Android), Android will clean up for you.
Note: There is a basic example app to help get you started. -ut
I have declared a method in my wrapper class for GreenDAO.
should I declare this method as synchronized?
BTW, should I explicitly close my GreenDao sessions and DaoMaster when my application is closed?
thanks.