I have an inner class like so
but Line 12 isn't being recognised as a Fragment the exact error message is actually for line 10 which says
1. Multiple markers at this Line
2. the return type is incompatable
I thought that if a class extends Fragment then it would be a fragment so I checked the original class
and Yes it extends Fragment
but Line 12 isn't being recognised as a Fragment the exact error message is actually for line 10 which says
1. Multiple markers at this Line
2. the return type is incompatable
I thought that if a class extends Fragment then it would be a fragment so I checked the original class
and Yes it extends Fragment