Receiving additional data

Report a typo

You opened a new activity using an explicit intent that contains a Boolean with a key birthdayDate. In the answer box, write the function to receive this Boolean. The default value should be set to false.

var birthDay = intent. //continue this line

Tip: In the theory, we mentioned using getStringExtra(). Keeping that in mind, try to guess which function is supposed to work with Boolean. Don't forget to set the default value to false.

Enter a short text
___

Create a free account to access the full topic