| | 1 | 一.com.jeremyfeinstein.slidingmenu.lib 第三方的类,对SlidingMenu的封装。 链接地址http://download.csdn.net/download/u012210388/6303833 |
| | 2 | 注意事项:1),主类继承SlingFragmentActivity 2),OnCreate方法要public权限 3),需要在onPostCreate之前设置setBehindContentView |
| | 3 | 二.cn.com.pcgroup.android |
| | 4 | 1,browser |
| | 5 | 1)model: |
| | 6 | Account:账户类 |
| | 7 | MJsonObject:封装JsonObject以便放在Intent中传送数据。需要实现Parcelable接口 |
| | 8 | ReadHistory:暂时没有用到 |
| | 9 | 2)module: |
| | 10 | BaseFragment:继承于Fragment,对Fragment的进一步封装,以便实现背景图片占用内存的释放等等,应用中的Fragment尽量继承它 |
| | 11 | BaseFragmentActivity:继承于FragmentActivity,现实与3.0+版本的Activity一样的功能,提供对fragment的一些操作,应用中的Activity尽量继承它 |
| | 12 | BaseMultiImgActivity: extends BaseFragmentActivity,用到了图片的缓存,(ImageFetcher)可以从本地或网络获取图片等,当Activity中用到了需要从本地或网络获取图片 |
| | 13 | 时需要继承它 |
| | 14 | BaseMultiImgFragment:extends BaseFragment,与上述一样 |
| | 15 | 3)service.upload |
| | 16 | UploadListener:上传服务返回结果的抽象类 |
| | 17 | UploadService:一些上传服务类 |
| | 18 | 4)utils |
| | 19 | AccountUtils:Account的工具类,登录、获取用户信息、注销、获取登录用户实体、是否登录、保存登录信息、上传头像、检查sessionId、第三方登录的绑定等等 |
| | 20 | AsyncDownloadUtils:对AsyncHttpClient(framework.jar中)的进一步封装,根据地址url返回String、json数据 |
| | 21 | AsynToPlatformUtil: 用来记录与查看用户是否选择分享到指定的平台. |
| | 22 | CacheUtil:清除所有缓存数据、获取缓存大小、定期清理缓存 |
| | 23 | CountUtils:记录页面启动的次数 |
| | 24 | GBKHttpUtil:根据ip转换城市 |
| | 25 | InitUtils:app启动时,初始数据(导航栏、订阅、Jpush启动等)的预加载 |
| | 26 | IntentUtils:Activity之间的跳转类 |
| | 27 | InternalConfigUtil:下载数据并保存在本地存储中,从本地文件中读数据(不存在本地文件或异常则直接从asset中读取) |
| | 28 | PushStatusUtils:打开推送、关闭推送、每天第一次打开推送功能时执行魔方统计等等 |
| | 29 | ReadHistoryUtil:暂时没用到 |
| | 30 | SettingSaveUtil:设置和读取一些配置文件(SharedPreference)来获取状态 |
| | 31 | SoftInputUtils:隐藏软键盘、打开软键盘 |
| | 32 | StringUtils:去除字符串中的空格、回车、换行符、制表符 |
| | 33 | TimeUtils:时间格式的处理 |
| | 34 | ToastUtils:Toast的封装 |
| | 35 | UpdateOnlineConfig:暂时没用到 |
| | 36 | URIUtils:根据Url格式选择跳转 |
| | 37 | ViewHolderUtil:暂时没用到 |
| | 38 | 2,common |
| | 39 | 1)config |
| | 40 | Config:外部的一些全局变量的设置 |
| | 41 | Env:自身app的一些环境的配置 |
| | 42 | Interface:根据key获取url |
| | 43 | JumpProtocol:汽车网用到的 |
| | 44 | MofangEvent:魔方事件配置,聚超值中没用到 |
| | 45 | 2)cropphoto |
| | 46 | CameraUtils:没用到 |
| | 47 | CircularImage:自定义控件,可用于生成头像背景 extends MaskedImage |
| | 48 | CropActivity:自定义剪裁照片Activity,extends MonitoredActivity 没用到 |
| | 49 | CropImageView:剪裁图片 extends ImageViewTouchBase 没用到 |
| | 50 | CropPhotoUtils:剪裁照片工具 |
| | 51 | HighlightView:没用到 |
| | 52 | RotateBitmap:在ImageViewTouchBase有引用 |
| | 53 | 3)jpush |
| | 54 | JPushReceiver/JPushService: 自定义仅仅用于test JPushReceiver接收广播并让JPushService处理 |
| | 55 | 4)numberpicker |
| | 56 | NumberPicker/Scroller: 3.0以后引入的一个显示数字的控件 |
| | 57 | 5)photo |
| | 58 | 直接用到的类PhotoView图片的缩放 https://github.com/chrisbanes/PhotoView |
| | 59 | 6)sectionlist 下的没有用到 |
| | 60 | 7)service |
| | 61 | AlarmPushService 通知栏点击统计 (魔方统计),测试用到的一些推送消息到通知栏等等 |
| | 62 | 8)ui |
| | 63 | ExpandGridView 当ScrollView中嵌套GridView时用到,用于GridView全部展开;listview雷同。没有用到 |
| | 64 | FixedFragmentStatePagerAdapter 没有用到 |
| | 65 | FocuseCircleView:自定义小圆点,优惠页顶部浏览图片的小圆点 |
| | 66 | HackyViewPager:图片浏览的容器,在本应用中装photoView |
| | 67 | HeaderGallery:优惠页顶部浏览图片的容器 |
| | 68 | ResizeLayout:主要监听Layout大小的变化,来控制虚拟键盘的高度 |
| | 69 | SimplePopupWindow:自定义弹窗(当点击某个控件时,在其下方显示弹窗) |
| | 70 | SoftinputEnterKeyListener:没有用到 |
| | 71 | 9)widget |
| | 72 | 1)button |
| | 73 | SwitchView:自定义控件 在评论页用到 (全部/只看楼主) |
| | 74 | 2)newgridview |
| | 75 | PullToRefreshGridView:下拉刷新GridView |
| | 76 | 3)pageindicator 页面指示器,配合ViewPager使用 |
| | 77 | 4)refreshlist PullToRefreshListView,PullToRefreshGridView的使用 |
| | 78 | 5)refreshweb |
| | 79 | PullToPageWebView:webview的下拉刷新 |
| | 80 | |
| | 81 | |