I have a fragment I am trying to add into a view.
FragmentManager fragMgr=getSupportFragmentManager(); feed_parser_activity content = (feed_parser_activity)f
The solution was to use getChildFragmentManager()
getChildFragmentManager()
instead of getFragmentManager()
getFragmentManager()
when calling from a fragment. If you are calling the method from an activity, then use getFragmentManager().
That will solve the problem.