Started buidling sample structure
This commit is contained in:
4 files changed
+51
-31
No files matched your search
@@ -0,0 +1,28 @@
|
||||
package com.ionspin.kotlin.crypto.sample.di
|
||||
|
||||
import kotlinx.serialization.json.Json
|
||||
|
||||
/**
|
||||
* Created by Ugljesa Jovanovic
|
||||
* ugljesa.jovanovic@ionspin.com
|
||||
* on 17-Oct-2020
|
||||
*/
|
||||
object ServiceLocator : ServiceLocatorInterface {
|
||||
override val Storage: StorageModule = StorageModule.StorageServiceLocator()
|
||||
|
||||
|
||||
}
|
||||
|
||||
interface ServiceLocatorInterface {
|
||||
val Storage: StorageModule
|
||||
}
|
||||
|
||||
interface StorageModule {
|
||||
val json: Json
|
||||
|
||||
class StorageServiceLocator : StorageModule {
|
||||
override val json = Json {
|
||||
prettyPrint = true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.ionspin.kotlin.crypto.sample.ui
|
||||
|
||||
/**
|
||||
* Created by Ugljesa Jovanovic
|
||||
* ugljesa.jovanovic@ionspin.com
|
||||
* on 17-Oct-2020
|
||||
*/
|
||||
class LandingController {
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user