I have a fragment I am trying to add into a view.
FragmentManager fragMgr=getSupportFragmentManager(); feed_parser_activity content = (feed_parser_activity)f
In my case, i was using a fragment class file to declare a listview adapter class. I just used a different file for the public adapter class and the error was gone.