当前位置:网站首页>EditText listening focus
EditText listening focus
2022-06-28 23:59:00 【xiyangyang8110】
numEdt.setOnFocusChangeListener(new android.view.View.OnFocusChangeListener() {
@Override
public void onFocusChange(View v, boolean hasFocus) {
Log.e("Edit", " Focus state :" + hasFocus);
if (hasFocus) {
// Get focus
numDeleteIv.setVisibility(View.VISIBLE);
} else {
// Lose focus
// Handle our actual computing needs
numDeleteIv.setVisibility(View.GONE);
}
}
});
边栏推荐
- 随笔记:定义setter和getter的三种方式
- Typescript -- Section 6 generic
- Implementation of dynamic timer for quartz
- [buuctf.reverse] 131-135
- Zoom with mouse wheel
- Basic operation of MySQL database: import hellodb SQL and query as required; Create account and authorize
- How to make two objects or arrays equal
- Windows10 phpstudy installing redis extension
- websocket-js连接如何携带token验证
- Stm32f407 ------- GPIO input experiment
猜你喜欢

stm32F407-------LCD

Phoenix installation tutorial

TypeScript -- 第二节:变量声明

ctfshow XSS

6.28 learning content

Blue Bridge Cup top ten common heaven level skill - breath of water The type of one recursion

Stm32f407 ------- IO pin multiplexing mapping

Mobile heterogeneous computing technology - GPU OpenCL programming (basic)

Stm32f407 ------- GPIO input experiment

LinkedIn datahub - experience sharing
随机推荐
stm32F407-------GPIO输入实验
Yyds dry goods count 【 vs code work record III 】 set vs code format
MySQL connection query is easy to understand
Stm32f407 ------ running lamp and buzzer
【C Primer Plus第二章课后编程题】
How to solve the database type error in the operation of the servert project?
Have you ever met a fake interview in a job interview? How to avoid?
Mysql的四种引擎介绍
每日一题:移除元素
The second session of question swiping and clock out activity -- solving the switching problem with recursion as the background (2)
Stm32f407 ------- GPIO input experiment
MSYQL is abnormal. Don't worry. Mr. Allen will point out the puzzle
stm32F407-------外部中断
urllib. Parse parses the parameters in the URL connection
[SSM] an error is reported that the user name of the access denied for user 'WYF' @ 'localhost' (using password: yes) data becomes the user name of the computer
window10 phpstudy 安装redis扩展
Mobile heterogeneous computing technology - GPU OpenCL programming (basic)
Stm32f407----- capacitive touch button
Technology sharing | software development process that you must understand if you want to get started with testing
Quartz explanation and use