Introduce navigationViewModel
This commit is contained in:
1 parent
3dea688eea
commit
4f9465a204
22 files changed
+447
-66
No files matched your search
@@ -0,0 +1,18 @@
|
||||
package ac.aux.compose.managers
|
||||
|
||||
import ac.aux.compose.AuxGlobal
|
||||
import ac.aux.compose.database.AuxDatabaseConstructor
|
||||
import ac.aux.compose.database.builder.PlatformDatabaseBuilder
|
||||
import ac.aux.compose.database.builder.getRoomDatabase
|
||||
|
||||
class DatabaseManager(
|
||||
auxGlobal: AuxGlobal
|
||||
) {
|
||||
val auxDatabase by lazy {
|
||||
getRoomDatabase(
|
||||
PlatformDatabaseBuilder.getDatabaseBuilder(
|
||||
auxGlobal.platformContext
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user