mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 00:21:32 +00:00
21 lines
449 B
Kotlin
Vendored
21 lines
449 B
Kotlin
Vendored
package com.myapp
|
|
|
|
import android.app.Activity
|
|
import android.os.Bundle
|
|
import java.io.File
|
|
import kotlinx.android.synthetic.main.layout.*
|
|
|
|
// KT-16132 Renaming property provided by kotlinx leads to renaming another members
|
|
|
|
object Loginer {
|
|
fun login() { }
|
|
}
|
|
|
|
public class MyActivity : Activity() {
|
|
override fun onCreate(savedInstanceState: Bundle?) {
|
|
<caret>login.setOnClickListener {
|
|
Loginer.login()
|
|
}
|
|
}
|
|
}
|