Questions tagged «lostfocus»

5
我怎么知道EditText何时失去焦点?
我需要抓住EditText失去焦点的时间,我搜索了其他问题,但没有找到答案。 我曾经OnFocusChangeListener这样 OnFocusChangeListener foco = new OnFocusChangeListener() { @Override public void onFocusChange(View v, boolean hasFocus) { // TODO Auto-generated method stub } }; 但是,这对我不起作用。
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.