我正在尝试扩展ListFragment,但是我一直收到上面提到的错误。我将android支持库添加到我的项目中。
发布于 2012-08-15 22:34:01
您可能在您的项目/类上有错误的导入。您可能会从API11 (android.app.ListFragment)扩展ListFragment,并且应该从兼容类(android.support.v4.app.ListFragment)扩展ListFragment。
发布于 2012-08-15 22:33:19
尝试添加
import android.support.v4.app.Fragment;
import android.support.v4.app.ListFragment;https://stackoverflow.com/questions/11971221
复制相似问题