简介 ButterKnife是一个专注于Android系统的View注入框架,当一个布局十分复杂时,需要引入执行大量的findViewById代码来找到View的对象,有了ButterKnife可以很轻松的省去这些步骤。是大神JakeWharton的力作,目前使用很广。最重要的一点,使用Butter ...
分类:
移动开发 时间:
2018-12-09 16:25:21
阅读次数:
209
一些著名媒体: 【quartz接下来会发生什么】https://qz.com/is/what-happens-next-2/ 【medium】https://medium.com/ 【medium-the starup】https://medium.com/swlh 【venturebeat】htt ...
分类:
Web程序 时间:
2018-12-06 12:03:37
阅读次数:
216
题目描述 编写程序,输入n(1<=n<=10),输入n个整数构成一个数组,输入整数x,在这个数组中查找x是否存在,如果存在,删除x,后面元素依次向前添补空位,并输出删除元 素后的数组。如果不存在,输出“Not Found”。 定义一个查找函数find(),在数组a中查找x,若找不到函数返回-1,若找 ...
分类:
编程语言 时间:
2018-12-02 22:38:26
阅读次数:
342
https://medium.com/@copyconstruct/nonblocking-i-o-99948ad7c957 https://medium.com/@copyconstruct/the-method-to-epolls-madness-d9d2d6378642 https://www ...
分类:
其他好文 时间:
2018-12-01 21:54:54
阅读次数:
168
Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacen ...
分类:
其他好文 时间:
2018-11-29 20:14:39
阅读次数:
137
Given two 1d vectors, implement an iterator to return their elements alternately. Example: Follow up: What if you are given k 1d vectors? How well can ...
分类:
其他好文 时间:
2018-11-29 15:18:56
阅读次数:
160
题意: 求最长增长的子序列的长度。 思路: 利用DP存取以i作为最大点的子序列长度。 Runtime: 20 ms, faster than 35.21% of C++ online submissions for Longest Increasing Subsequence. 解法二: 讨论区里的 ...
分类:
其他好文 时间:
2018-11-29 15:04:45
阅读次数:
159
二、浮点数类型 三、日期时间类型 四、字符串类型 ...
分类:
数据库 时间:
2018-11-28 17:35:44
阅读次数:
246
题目链接:http://acm.tzc.edu.cn/acmhome/problemdetail.do?&method=showdetail&id=1518 1518: 星星点点 时间限制(普通/Java):1000MS/10000MS 内存限制:65536KByte 描述 输入一个由“*”和“.” ...
分类:
其他好文 时间:
2018-11-27 22:16:47
阅读次数:
378
Difficulty: Medium More:【目录】LeetCode Java实现 Description Given an input string, reverse the string word by word. Example: Note: A word is defined as a ...
分类:
其他好文 时间:
2018-11-27 11:13:42
阅读次数:
144