fun Fragment.allowOptionsMenu(hasOptionsMenu: Boolean = true): Unit
Calls fragment's |
|
fun <T : Context> Fragment.getIntent(flags: Int = 0, bundle: Bundle? = null, data: Uri? = null): Intent?
Generates intent from Fragment |
|
fun Fragment.goBackToFragment(name: String, flag: Int = 0): Unit
Go back to fragment whose tag matches with name |
|
fun Fragment.setSupportActionbar(toolbar: Toolbar): Unit
Call's Parent activity's |
|
fun <T : Activity> Fragment.startActivity(flags: Int = 0, data: Uri? = null, extras: Bundle? = null): Unit
Starts Activity |
|
fun <T : Activity> Fragment.startActivityForResult(flags: Int = 0, data: Uri? = null, extras: Bundle? = null, requestCode: Int): Unit
Calls |