摘要: 主要参考:http://blog.csdn.net/zhaokaiqiang1992/article/details/40371031 http://www.open-open.com/lib/view/open1405218387226.html 1、导入 library 2、继承 Sl... 阅读全文
posted @ 2016-03-21 20:55 云中鹤5786 阅读(782) 评论(0) 推荐(0) 编辑
摘要: 一、定义 /** * @类名 BaseFragment * @创建者 ppa * @创建时间 2016-3-21 * @描述 TODO */ public abstract class BaseFragment extends Fragment { public Ac... 阅读全文
posted @ 2016-03-21 20:41 云中鹤5786 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 1、常规代码 SharedPreferences sp = getSharedPreferences("config",MODE_PRIVATE); sp.edit().putBoolean("is_guide_showed",true).commit(); SharedPreference... 阅读全文
posted @ 2016-03-21 14:41 云中鹤5786 阅读(115) 评论(0) 推荐(0) 编辑
摘要: class GuideAdapter extends PagerAdapter{ @Override public int getCount() { return mImages.length; } @Override public boolean... 阅读全文
posted @ 2016-03-21 14:06 云中鹤5786 阅读(126) 评论(0) 推荐(0) 编辑