I have a fragment I am trying to add into a view.
FragmentManager fragMgr=getSupportFragmentManager(); feed_parser_activity content = (feed_parser_activity)f
I got this error when I upgraded from com.android.support:support-v4:21.0.0 to com.android.support:support-v4:22.1.1.
com.android.support:support-v4:21.0.0
com.android.support:support-v4:22.1.1
I had to change my layout from this:
To this:
So the layout MUST have a child view. I'm assuming they enforced this in the new library.