Skip to content

Commit

Permalink
feat: add static SDK (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
abd3lraouf authored Jul 18, 2022
1 parent e3b083f commit d41dc69
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions sdk/src/main/java/dev/abd3lraouf/learn/sdk/Sdk.kt
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,12 @@
package dev.abd3lraouf.learn.sdk

@Suppress("unused")
class Sdk {
companion object {
fun init() {
println("sdk init")
}
object Sdk {
fun init() {
println("sdk init")
}

fun destroy() {
println("sdk destroy")
}
fun destroy() {
println("sdk destroy")
}
}

0 comments on commit d41dc69

Please sign in to comment.