Skip to content

Commit

Permalink
[Add/#9] MyApplication.kt 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
gaeun5744 committed Jun 28, 2023
1 parent e348695 commit 31280ba
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions app/src/main/java/org/android/go/sopt/util/MyApplication.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package org.android.go.sopt.util

import android.app.Application

class MyApplication : Application() {

companion object {
lateinit var mySharedPreferences: MySharedPreferences
}

override fun onCreate() {
mySharedPreferences = MySharedPreferences(applicationContext)
super.onCreate()
}
}

0 comments on commit 31280ba

Please sign in to comment.