摘要: 一般的重叠构造器模式: public class NutritionFacts{ private final int one; private final int two; private final int three; public NutritionFacts(int one,int two,int three){ this.one = one; ... 阅读全文
posted @ 2016-02-18 10:41 Pace千雨 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 首先FragmentActivity类及布局; public abstract class SingleFragmentActivity extends FragmentActivity { protected abstract Fragment createFragment(); @Overrid 阅读全文
posted @ 2016-02-18 00:48 Pace千雨 阅读(423) 评论(0) 推荐(0) 编辑