companion object { Expand Down 7 changes: 7 additions & 0 deletions 7 shared/src/commonMain/kotlin/com/jetbrains/basicsample/Greeting.kt Show comments View file Edit file Delete file This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears...
companion object{ const val TAG = "KotlinRealm" } override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) add.setOnClickListener { Realm.getDefaultInstance().use { it.beginTransaction() val d = it.createObject(User::class....
companion object { /** Don't bridge these. */ private val NON_INTERFACE_FUNCTION_NAMES = mutableSetOf( private val NON_INTERFACE_FUNCTION_NAMES = setOf( "equals", "hashCode", "toString", Expand All @@ -281,7 +281,7 @@ internal class BridgedInterface( functionName: String, type: Ir...
.method("containsKey", "Ljava/lang/Object;", JvmPrimitiveType.BOOLEAN.desc) to DefaultValue.FALSE, javaUtil("Map") .method("containsValue", "Ljava/lang/Object;", JvmPrimitiveType.BOOLEAN.desc) to DefaultValue.FALSE, javaUtil("Map") .method("remove", "Ljava/lang/Object;Ljava/lang/Object;"...