Skip to content

Close database helper per activity #1

@kikin81

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

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