anboralabs / spatia-room

Implementation of spatia lite database to android component Room
MIT License
44 stars 4 forks source link

Added createFromAsset method. #5

Closed dalgarins closed 3 years ago

dalgarins commented 3 years ago
val instance = SpatiaRoom.databaseBuilder(
                            context.applicationContext,
                            AppDatabase::class.java,
                            DB_NAME
                        ).createFromAsset("my_template.db")
                            .build()