接触Android差不多一年,工作也有快半年的时间了。 现在回头看看自己写的代码,虽然功能可以实现,但是还是有很多不足的地方。 比如代码结构,一个类中的代码过多,知道这样做不好,但是不知道怎么把这些 杂乱的代码抽离出来。 再比如遇到难以解决的问题,虽然能通过百度,google等方式解决,但对整个知识 ...
分类:
移动开发 时间:
2017-05-25 13:20:28
阅读次数:
158
CodeForces - 344D Alternating Current Time Limit: 1000MS Memory Limit: 262144KB 64bit IO Format: %I64d & %I64u Submit Status Description Mad scientist ...
分类:
其他好文 时间:
2017-05-22 15:16:18
阅读次数:
283
link是过时的了,尽量不要用。 dns内部集成,也可以用外部。 expose只是用于记录,并不真的。 publish是否起作用,也要看情况,是否被占用端口。 Embedded DNS server Docker daemon runs an embedded DNS server which pr ...
分类:
其他好文 时间:
2017-05-19 23:50:51
阅读次数:
456
Learn how to user the ‘componentFromProp’ helper and ‘defaultProps’ higher order component to swap the underlying html tag of your component. Sometime ...
分类:
Web程序 时间:
2017-05-16 21:45:10
阅读次数:
239
We are playing the Guess Game. The game is as follows: I pick a number from 1 to n. You have to guess which number I picked. Every time you guess wron ...
分类:
编程语言 时间:
2017-05-16 10:54:52
阅读次数:
160
Learn how to use the 'lifecycle' higher-order component to conveniently use hooks without using a class component. ...
分类:
其他好文 时间:
2017-05-15 09:55:25
阅读次数:
170
Learn how to use the ‘withProps’ higher order component to pre-fill a prop, unable to be overridden. withProps, take string as arguement for creating ...
分类:
其他好文 时间:
2017-05-15 09:52:31
阅读次数:
173
Learn how to use the 'mapProps' higher-order component to modify an existing component’s API (its props). 'mapProps' takes incoming props and changes ...
分类:
移动开发 时间:
2017-05-15 09:49:40
阅读次数:
201
Learn how to use the 'withReducer' higher order component using the alternative reducer form. If you like using reducers in redux, you’ll be able to r ...
分类:
其他好文 时间:
2017-05-14 19:39:23
阅读次数:
119
Facade Pattern Provide a unified interface to a set of interfaces in a subsystem.Facade defines a higher-level interface that makes the subsystem easi ...
分类:
其他好文 时间:
2017-05-14 13:53:35
阅读次数:
212