Created
April 3, 2017 22:00
-
-
Save cosbor11/ff4babbf29faec36a83f00405079b652 to your computer and use it in GitHub Desktop.
Create a persistence manager factory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PersistenceManagerFactory persistenceManagerFactory = new CacheManagerFactory(); | |
try { | |
persistenceManagerFactory.initialize(); | |
} catch (InitializationException e) { | |
Log.e(TAG, "Cannot initialize Persistence Manager Factory"); | |
} | |
PersistenceManager persistenceManager = persistenceManagerFactory.getPersistenceManager(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment