作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
<分区>
在我的抽屉式导航布局中,我在 TextView 中显示了用户的登录信息。如果他单击标题为“编辑个人资料”的按钮然后提交相应的表格,则可以更改后者。这就是我使用快照监听器的原因,它会更新 TextView 。
由于抽屉导航布局在任何执行时间都存在,我应该什么时候分离监听器?
如果用户点击“注销”按钮,我可以将其分离,但如果他从未点击过怎么办?
我是一名优秀的程序员,十分优秀!