0

My startActivityForResult is asking for 3 mandatory parameters: Activity, intent and the request code. I'm using Intent to call an activity from within a recycler view when a button is tapped. But when I type startActivityForResult, it is asking for 3 parameters. I don't understand what activity it is asking for and how to pass it.

Thank you!

1 Answers1

0

Found the solution to the issue. I had to context the mainActivity. Since the adapter class is not an activity I have to pass the activity of the pare for more assistance

Thank you for the help.