Created
April 11, 2019 14:24
-
-
Save ismailgungor/cd147fe6af38945497799038be264f62 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| /** | |
| * Responsible to manage intent process | |
| * | |
| * @author ismailgungor | |
| * @since 1.0 | |
| */ | |
| class IntentHelper(private val context: Context) { | |
| /** | |
| * This method provides an intent which opens Main Activity | |
| * | |
| * @author ismailgungor | |
| * @since 1.0 | |
| */ | |
| fun intentToMainActivity() { | |
| context.startActivity(Intent(context, MainActivity::class.java)) | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment