mirror of
https://github.com/openMF/mobile-wallet.git
synced 2026-02-06 11:36:57 +00:00
29 lines
812 B
Kotlin
29 lines
812 B
Kotlin
/*
|
|
* Copyright 2024 Mifos Initiative
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
*
|
|
* See https://github.com/openMF/mobile-wallet/blob/master/LICENSE.md
|
|
*/
|
|
package org.mifospay
|
|
|
|
import android.app.Application
|
|
import org.koin.android.ext.koin.androidContext
|
|
import org.koin.android.ext.koin.androidLogger
|
|
import org.koin.core.context.GlobalContext.startKoin
|
|
import org.mifospay.shared.di.KoinModules
|
|
|
|
class MifosPayApp : Application() {
|
|
override fun onCreate() {
|
|
super.onCreate()
|
|
|
|
startKoin {
|
|
androidContext(this@MifosPayApp)
|
|
androidLogger()
|
|
modules(KoinModules.allModules)
|
|
}
|
|
}
|
|
}
|