初始化控件并设置监听器 button = Button findViewByIdRidbutton; usename = EditText findViewByIdRideditTextTextPassword6; password = EditText findViewByIdRidpassword; buttonsetOnClickLis
n); rb_jizhu.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { rememberPassword = isChecked; } });
原文地址: https://www.cveoy.top/t/topic/cH66 著作权归作者所有。请勿转载和采集!