parent
3a6adc4108
commit
f0d51f3c1b
@ -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>
|
Loading…
Reference in new issue