当前位置:网站首页>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);
}
}
});
边栏推荐
- Typescript -- Section 1: basic types
- Notes: three ways to define setters and Getters
- stm32F407-------通用定时器
- Rongyun communication solution solves the pain points of enterprise communication
- 三个pwn题
- LG. Hankson's interesting questions, C language
- Edge extraction based on Halcon learning [2] circles Hdev routine
- TypeScript--第五节:类
- Software testing tools: complete and precise
- [buuctf.reverse] 131-135
猜你喜欢

TypeScript--第四节:函数

Stm32f407 ------ clock system (systeminit clock initialization, systick tick timer)

12. Détection d'objets Mask rcnn

6.28 learning content

LinkedIn datahub - experience sharing

Typescript -- Section 5: classes

Technology sharing | software development process that you must understand if you want to get started with testing

MapReduce案例

10、YOLO系列

The company has a new Post-00 test paper king. The old oilman said that he could not do it. He has been
随机推荐
点击劫持:X-Frame-Options未配置
TypeScript -- 第二节:变量声明
[buuctf.reverse] 131-135
这玩意叫跳表?
Be on the list again! Know that Chuangyu was selected as one of the top 50 competitive enterprises in China's network security industry in 2022
[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
stm32F407-------电容触摸按键
6.28 learning content
TypeScript --第三节:接口
12.物體檢測Mask-Rcnn
ERROR 1067 (42000): Invalid default value for ‘end_ time‘ Mysql
Baidu knows the crawler, and obtains the dialogue below the comment according to the question Id, clue ID and comment ID
Phoenix installation tutorial
随笔记:定义setter和getter的三种方式
"Five considerations" for safe use of the Internet
请问指南针股票软件可靠吗?在上面交易股票安全吗?
mysql 高可用双主同步
【C Primer Plus第二章课后编程题】
stm32F407-------RTC实时时钟
TypeScript--第四节:函数