随笔 - 632  文章 - 17  评论 - 54  阅读 - 92万
03 2024 档案
ViewPager2 FragmentManager is already executing transactions
摘要:一、概述 双层Fragment+ViewPager2嵌套来回切换导致如下异常 ViewPager2 FragmentManager is already executing transactions 二、解决办法 FragmentStateAdapter的默认构造函数使用的是: public Fra 阅读全文
posted @ 2024-03-29 15:43 飘杨...... 阅读(288) 评论(0) 推荐(0) 编辑
Android自定义密码样式
摘要:一、概述 需求: 自定义密码输入样式,Android原生的密码样式无法满足现有需求。所以只能自定义。如下图: ps:由于是密码框页面无法截图(涉及到隐私,所以只能拍个照将就着看) 二、代码示例 /** * 自定义密码输入框 */ class PasswordEditView(context: Con 阅读全文
posted @ 2024-03-21 14:43 飘杨...... 阅读(59) 评论(0) 推荐(0) 编辑
androidstudio Unable to delete directory E:/xxxxx
摘要:一、概述 在使用AndroidStudio运行项目的时候,有时候会出现 Unable to delete directory E:/xxxxx 会提示某一个文件无法删除,导致clean和重新运行都会失败。 二、解决办法 导致这个问题的原因是可能有两个虚拟机同时使用了该文件。 第一种情况: 1.打开了 阅读全文
posted @ 2024-03-18 10:20 飘杨...... 阅读(267) 评论(0) 推荐(0) 编辑

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

点击右上角即可分享
微信分享提示