|
|
@ -69,11 +69,10 @@ inline fun <reified T : Activity> Fragment.startActivity(vararg params: Pair<Str |
|
|
|
inline fun <reified T : Activity> Fragment.startActivityForResult( |
|
|
|
inline fun <reified T : Activity> Fragment.startActivityForResult( |
|
|
|
requestCode: Int, |
|
|
|
requestCode: Int, |
|
|
|
vararg params: Pair<String, Any?> |
|
|
|
vararg params: Pair<String, Any?> |
|
|
|
) = |
|
|
|
) = startActivityForResult( |
|
|
|
startActivityForResult( |
|
|
|
AnkoInternals.createIntent(requireActivity(), T::class.java, params), |
|
|
|
AnkoInternals.createIntent(requireActivity(), T::class.java, params), |
|
|
|
requestCode |
|
|
|
requestCode |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inline fun <reified T : Service> Fragment.startService(vararg params: Pair<String, Any?>) = |
|
|
|
inline fun <reified T : Service> Fragment.startService(vararg params: Pair<String, Any?>) = |
|
|
|
AnkoInternals.internalStartService(requireActivity(), T::class.java, params) |
|
|
|
AnkoInternals.internalStartService(requireActivity(), T::class.java, params) |
|
|
|