Android Using Kotlin suggest change

Creating a new Kotlin Activity

  1. Click to FileNewKotlin Activity.
  2. Choose a type of the Activity.
  3. Select name and other parameter for the Activity.
  4. Finish.

Final class could look like this:

import android.support.v7.app.AppCompatActivity
import android.os.Bundle

class MainActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
    }
}

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents