摘要:
IOC(inversion of control)控制反转在我们的程序中,要实现某个功能,我们都会用到两个或两个以上的类来协同完成,那么在一个类中,我们就会要有它的合作类的引用,也就是说这个类依赖于别的类,这个合作类的获取,将会有一下几种不同的情况依赖获取的三种方式:Java代码情况1.自己生成Cl... 阅读全文
摘要:
1. Parcelable接口Interface for classes whose instances can be written to and restored from a Parcel。 Classes implementing the Parcelable interface must ... 阅读全文