I was working with fragments in android studio 1.0.1. Just as network process are not good to be done in the main UI, i moved my code to a different class containing fragmen
the compile time error is suggesting that your ForecastFragment
is using the native fragment support app.Fragment
, but in your activity you are using a transaction from the support library. You have to be consistent with the import. Change your ForecastFragment
in order to make it use the Fragment from the support library