RoomDatabaseExtension

RoomDatabaseExtension contains extension functions for RoomDatabase

Author

jimlyas

Since

08 Feb 2023

Copyright © 2022-2023 jimlyas. All rights reserved.

Functions

Link copied to clipboard
inline fun <db : RoomDatabase> createDatabase(context: Context, databaseName: String, passPhrase: String, fallbackMigration: Boolean = false, useMemoryProtection: Boolean = false, migrationList: List<Migration>? = null): db

Function to build an instance of db, that inherit RoomDatabase