activity被杀恢复:
http://www.jianshu.com/p/e3612a9b1af3
fragment使用:
http://www.jianshu.com/p/d9143a92ad94、
fragment被杀恢复: (恢复是调用了无参的构造方法,restoreAllState时调用FragmentState的instantiate,进而调用Fragment的instantiate,最后通过反射,构建Fragment)
http://www.jianshu.com/p/00fef8872b68
网友评论