Created
June 5, 2020 11:14
-
-
Save TheBotBox/7e23380e28cc3d2cd9af6852a1515aec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inline fun <reified T : AppCompatActivity> Activity.startActivityEtx() = | |
Intent(this, T::class.java) | |
.apply { | |
startActivity(this) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment