val Activity.contentView: View?
Returns the Activity's content (root) view. |
|
fun Activity.hideKeyboard(): Unit
Hides the soft keyboard if it's visible by calling android.view.inputmethod.InputMethodManager.hideSoftInputFromWindow. |
|
fun <T : Activity> Activity.startActivityForResult(requestCode: Int, block: Intent.() -> Unit = {}): Unit
Starts a new activity by creating a new Intent, calling block with the new instance as receiver, then passing the intent to Activity.startActivityForResult. |