parent
9b9c71474f
commit
4942de0bd5
@ -1,24 +1,10 @@
|
||||
package uca.baptistearthur.geocaching.application
|
||||
|
||||
import android.app.Application
|
||||
import uca.baptistearthur.geocaching.data.Database
|
||||
import uca.baptistearthur.geocaching.data.BDD
|
||||
|
||||
class RTApplication: Application() {
|
||||
|
||||
// val db: Database by lazy {
|
||||
// Database.getInstance(this)
|
||||
// }
|
||||
|
||||
//
|
||||
|
||||
// lateinit var db: Database
|
||||
//
|
||||
// override fun onCreate() {
|
||||
// super.onCreate()
|
||||
//
|
||||
// // Initialiser la propriété db ici
|
||||
// db = Database.getInstance(this) as Database
|
||||
// }
|
||||
|
||||
val db: BDD by lazy { BDD.getInstance(this) }
|
||||
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
<shape
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle" >
|
||||
|
||||
<solid
|
||||
android:color="@color/gray" >
|
||||
</solid>
|
||||
|
||||
<padding
|
||||
android:left="5dp"
|
||||
android:top="5dp"
|
||||
android:right="5dp"
|
||||
android:bottom="5dp" >
|
||||
</padding>
|
||||
|
||||
<corners
|
||||
android:radius="11dp" >
|
||||
</corners>
|
||||
|
||||
</shape>
|
@ -1,7 +1,7 @@
|
||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
plugins {
|
||||
id 'com.android.application' version '7.3.0' apply false
|
||||
id 'com.android.library' version '7.3.0' apply false
|
||||
id 'com.android.application' version '7.4.1' apply false
|
||||
id 'com.android.library' version '7.4.1' apply false
|
||||
id 'org.jetbrains.kotlin.android' version '1.8.20' apply false
|
||||
// id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin' version '2.0.1' apply false
|
||||
}
|
Loading…
Reference in new issue