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);
    }

}

发布了44 篇原创文章 · 获赞 15 · 访问量 9万+

猜你喜欢

转载自blog.csdn.net/m0_37039192/article/details/85341409
今日推荐