Need to find the right error in the LogCat
I did some poking around in the LogCat, and saw at the bottom of the error list the error "Cannot be cast to android.app.Fragment".
I took this error into Google and found a response that said;
If I had to guess, ...[fragment class] is extending android.support.v4.app.Fragment. However, [activity] is not extending android.support.v4.app.FragmentActivity...
I looked at the fragment class and I was importing android.support.v4.app, but the main activity was importing android.app
I changed the fragment class' import to be android.app and all is well now.
Steve
|