Skip to content

Close database helper per activity #1

Description

@kikin81

I believe you need to implement a way to close the database helper when an activity that calls Repo gets destroyed.

In the DatabaseHelper class close method, you also need to free up the cached DAO's.

http://ormlite.com/javadoc/ormlite-core/doc-files/ormlite_4.html#Use-With-Android

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions