The method add(Fragment) in the type ArrayList is not applicable for the arguments (FragmentOne)错误解决
把FragmentOne中的import android.app.Fragment;改为 android.support.v4.app.Fragment;
The method add(Fragment) in the type ArrayList is not applicable for the arguments (FragmentOne)错误解决
把FragmentOne中的import android.app.Fragment;改为 android.support.v4.app.Fragment;