Context error is showing up

I’m getting an error with a red underline on context after ArrayAdapter
Help me out of this error in Dynamic Fragments.

Can you share the code snippet of what you are trying to do