The type new View.OnClickListener(){} must implement the inherited abstract method View.OnClickListe

来源:互联网 发布:手机导航网站源码 编辑:程序博客网 时间:2024/06/12 22:01

在Eclipse中编写private OnClickListener startListener=new OnClickListener() {
                                                  public void OnClick(View v){
………………………………………………………………………………………………
                                                                  }
};

怎么指出The type new View.OnClickListener(){} must implement the inherited abstract method View.OnClickListe   这个错误?是哪里出问题了

 

解决方法:没有导入import android.view.View.OnClickListener;包

0 0