天天看点

Binary XML file line #68:

问题描述:自定义view,继承 LinearLayout.需要实现其方法.(有4个方法,需实现其中一个)

public class CallLoadingView  extends LinearLayout implements View.OnClickListener {

    public CallLoadingView(Context context) {
        super(context);
    }      

}

解决问题:实现的方法错了,需要实现一下方法.

public class CallLoadingView  extends LinearLayout implements View.OnClickListener {
      
public CallLoadingView(Context context, @Nullable AttributeSet attrs) {
        super(context);
    }      

}