Last active
July 1, 2020 20:59
-
-
Save cengiztoru/87d5d5040bded4fcfc41077e51d0f078 to your computer and use it in GitHub Desktop.
Navigatiıon Architectural Components - Getting Passed Data
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
lateinit var email: String | |
lateinit var userID: Int | |
lateinit var isActive: Boolean | |
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCreate(savedInstanceState) | |
email = arguments!!.getString("email")!! | |
userID = arguments!!.getInt("userId")!! | |
isActive = arguments!!.getBoolean("isActive")!! | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment