一、注解类BindEventBus.java@Target(ElementType.TYPE)@Retention(RetentionPolic...
首先在项目的build.gradle中加入 allprojects { repositories { ... maven { ur...
在项目中列表是基本都会用到的,然而在显示列表时,我们需要的数据可能需要不止一种item显示,对于复杂的数据就需要多种item,以不同的样式显示出...
注意: Spanable中的常用常量: Spanned.SPAN_EXCLUSIVE_EXCLUSIVE --- 不包含start和end所在的...
public static int dip2px(Context context,float dipValue) { return (int) ...
AS中配置Git并Push到GitHub: 1.File --> Setting --> Version Control --> Git 配置P...
1.RaisedButton 控件onPressed设置点击事件 new MaterialPageRoute( builder: (con...
自定义顺时针进度圆环 ``` public class CirqueView extends View { /** * View默认最...
/** * 检查时间格式是否正确 * * @param str 时间格式字符 * @param pattern 时间格式 */ public...