mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-02-03 23:57:38 +01:00
convert App to kotlin
This commit is contained in:
parent
83a1c707e0
commit
4fa58b11c9
@ -1,12 +0,0 @@
|
||||
package com.simplemobiletools.notes;
|
||||
|
||||
import android.app.Application;
|
||||
|
||||
import com.facebook.stetho.Stetho;
|
||||
|
||||
public class App extends Application {
|
||||
public void onCreate() {
|
||||
super.onCreate();
|
||||
Stetho.initializeWithDefaults(this);
|
||||
}
|
||||
}
|
12
app/src/main/kotlin/com/simplemobiletools/notes/App.kt
Normal file
12
app/src/main/kotlin/com/simplemobiletools/notes/App.kt
Normal file
@ -0,0 +1,12 @@
|
||||
package com.simplemobiletools.notes
|
||||
|
||||
import android.app.Application
|
||||
|
||||
import com.facebook.stetho.Stetho
|
||||
|
||||
class App : Application() {
|
||||
override fun onCreate() {
|
||||
super.onCreate()
|
||||
Stetho.initializeWithDefaults(this)
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user