文章
这里是我写过的全部文章。
Data Binding文档翻译
本文档讲解了怎样使用Data Binding库来声明布局,并且减少应用程序逻辑和布局所需的耦合代码,这在开发中是非常必要的。 Data Binding库是一个引
Data Binding Library官方文档
This document explains how to use the Data Binding Library to write declarative
Android N for Developers
原文链接: https://developer.android.com/preview/apioverview.html Android N for Devel
View的事件分发机制
View的事件分发机制是非常核心的一个知识点,可以解决滑动冲突等很多棘手的问题,所以在这里梳理一下。 1\. View的事件分发机制 2\. 一些Listene
Application的label和Activity的label
近日需求,要根据渠道修改应用的名称,涉及到了在Manifest中的label属性了,特此记录。 label属性在两个地方都有,Application、Activ
EditText的输入限制(InputType、digits)
最近做了不少输入框,有储蓄卡卡号、信用卡卡号、验证码、用户名等,需要对每个输入框都做不同的输入限制,下面记录了常用的几种输入限制方式,以供以后参考。 方法一:I
自定义数据结构排序(字符串排序)
在很多情况下,我们都会用到对自定义数据结构的排序,而最多的实际排序依据是对字符串的排序。 举个例子: 联系人排序,contacts是一个我们自己定义的数据结构,
Compilation is not supported for following modules:app
Unsupported Modules Detected:Compilation is not supported for following modules:
Activity的启动模式和标志位
Activity启动模式 四种:standard singleTop singleTask singleInstance standard,标准模式 标准的启动
Android Service在手机cpu休眠之后还会运行吗?
作为Android开发者,大家都知道,在Android开发中, Service是非常常用的四大组件之一,大部分后台操作的工作都要在Service中执行,Serv