Butterknife实现原理 一、简介 1、特点 低版本不使用APT(Annotation Processing Tool)编译时解析技术,使用时仅添加依赖。在Butterknife8.0版本及以上使用APT。 一般注入框架都是运行时注解,即声明注解的生命周期为RUNTIME,然后在运行的时候通过 ...
分类:
其他好文 时间:
2016-09-21 20:05:22
阅读次数:
179
再来看一下之前的一段代码: def process(input: Any) { input match { case (a: Int, b: Int) => println("Processing (int, int)... ") case (a: Double, b: Double) => pri... ...
分类:
其他好文 时间:
2016-09-18 23:31:31
阅读次数:
260
当配置mybatis返回int类型时 会报错如下: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.apache.ibatis.bindin ...
分类:
其他好文 时间:
2016-09-17 00:11:10
阅读次数:
3598
严重: Servlet.service() for servlet [dispatcher] in context with path [/cc] threw exception [Request processing failed; nested exception is java.lang.Nu ...
分类:
其他好文 时间:
2016-09-15 16:23:36
阅读次数:
146
Servlet.service() for servlet [SpringMVC] in context with path [/eyou] threw exception [Request processing failed; nested exception is org.apache.ibat ...
分类:
编程语言 时间:
2016-09-15 01:02:08
阅读次数:
466
A context switch (also sometimes referred to as a process switch or a task switch) is the switching of the CPU (central processing unit) from one proc ...
分类:
其他好文 时间:
2016-09-14 20:32:08
阅读次数:
170
1、NODETYPE (1)ELEMENT NODE(2)ATTRIBUTE NODE(3)TEXT NODE(4)CDATA SECTION NODE(5)ENTITY REFERENCE NODE(6)ENTITY NODE(7)PROCESSING INSTRUCTION NODE(8)COM ...
分类:
其他好文 时间:
2016-09-09 18:14:55
阅读次数:
119
mCustomScrollbar 是个基于 jQuery UI 的自定义滚动条插件,它可以让你灵活的通过 CSS 定义网页的滚动条,并且垂直和水平两个方向的滚动条都可以定义,它通过 Brandon Aaron jquery mouse-wheel plugin 提供了鼠标滚动的支持,并且在滚动的过程 ...
分类:
其他好文 时间:
2016-09-06 16:56:58
阅读次数:
294
StackBlur.js 是 Mario Klingemann 创建的一个快速的、接近高斯模糊的效果库。 更多信息: http://incubator.quasimondo.com/processing/fast_blur_deluxe.php Demo: http://www.quasimondo ...
分类:
Web程序 时间:
2016-09-05 19:00:17
阅读次数:
629
$(function(){ $(document).keydown(function(e){ if(e.keyCode==13){ $("#mouse").click(); } }); $("#mouse").click(function(){ alert("hello world!"); }); ...
分类:
Web程序 时间:
2016-09-01 18:33:43
阅读次数:
151