Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

命名不规范 #7

Open
ghost opened this issue May 7, 2018 · 0 comments
Open

命名不规范 #7

ghost opened this issue May 7, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented May 7, 2018

用了你的控件,没细看源码,但是从核心的使用代码来看,命名不够规范
希望能规范一下,不要误导更多的人,可以参考阿里的java手册和android手册

       searchView.setOnClickSearch(new ICallBack() {
            @Override
            public void SearchAciton(String string) {//方法名小写开头
                System.out.println("我收到了" + string);
            }
        });
        searchView.setOnClickBack(new bCallBack() {//接口和类名大写开头
            @Override
            public void BackAciton() {//方法名小写开头
                finish();
            }
        });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants