Started buidling sample structure

This commit is contained in:
Ugljesa Jovanovic committed 2020-10-17 18:08:12 +02:00
1 parent 0a52a55a9d
commit d81f1eea4b
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 {
}