Welcome to the Ranch
Please
UseCodeTags (← click) when posting code as it makes it easier for people to read your code. I've added them for you this time.
When I try to use this I get an error: Could not find matching constructor for: Fragments.
Your problem is because your Fragments class only has a no args constructor but you are trying to create an instance of Fragments passing in 3 arguments.