在 Demo 下显示The hierarchy of the type Demo is inconsistent,在 RecyclerView 下显示The type android.support.v4.view.ScrollingView cannot be resolved。它是从所需的 .class 文件间接引用的。我该如何解决?
public class Demo extends RecyclerView {
public Demo(Context context, AttributeSet attrs) {
super(context, attrs);
}
}
Run Code Online (Sandbox Code Playgroud)