Giter Site home page Giter Site logo

modulesample's Introduction

前言

利用业余时间完成一整套自用框架,一方面是想尽量不依赖第三方库,另一方面也算是对自己技术的检测吧 PS:英文名:Ripple

一、规划

1.先大体规划一下自己的方向

  1. 本身可以处理,不用引用任何第三方库的,会从一下几个方面入手
    • 通用UI,本身会定义通用UI,但是不会很多,就是比较最起码是在这个项目中会经常用到的
    • Android本身可以处理的一些业务可以拿出来
  2. 需要依赖第三方库才能进行处理
    • 最常用的就是网络,下载
    • 常用的支付,分享等
  3. 自己会定义一些底层的sdk规则,然后自己再去进行实现.
库名称 库描述 module名字 开源库托管地址
Base库 底层base库,定义功能(app的基本功能)不定义实现 com.ripple.base.kit 暂无
BaseSdk 实现base的功能 com.ripple.base.sdk 暂无
UI库 常用UI库 com.ripple.ui https://github.com/fanyafeng/ripple_ui
TOOL库 通用工具库包括android和java com.ripple.tool https://github.com/fanyafeng/ripple_tool
Http库 网络库 com.ripple.http 暂无
Dialog库 封装系统dialog com.ripple.dialog https://github.com/fanyafeng/ripple_dialog
Refresh库 刷新库 com.ripple.refresh 暂无
Router库 路由库,暂时先定义 com.ripple.router 暂无
RouterHelper库 路由辅助类库 com.ripple.router.helper 暂无
MediaPicker库 媒体选择库 com.ripple.media.picker https://github.com/fanyafeng/ripple_media_picker
BridgeWebView库 webview库 com.ripple.web.bridge 暂无
Camera库 自定义相机库,暂定需要5.0之上,底层采用Camera2去实现 com.ripple.camera 暂无
Cache库 缓存库 com.ripple.cache 暂无
DB库 数据库 com.ripple.db 暂无
Permission库 动态权限库 com.ripple.permission https://github.com/fanyafeng/ripple_permission
Permission库(gradle) 动态权限gradle库 com.ripple.permission.gradle https://github.com/fanyafeng/ripple_permission_plugin
Compress库 图片压缩库 com.ripple.photo.compress https://github.com/fanyafeng/ripple_image_compress
Task库 批量任务处理库 com.ripple.task https://github.com/fanyafeng/ripple_task
Share库 分享库 com.ripple.share 暂无
FileDownload库 文件下载库 com.ripple.file.down 暂无
Log库 日志打印库 com.ripple.log https://github.com/fanyafeng/ripple_log
  1. 以下为上面提到的库的详细说明以及使用

2.一些比较杂的问题

  1. 项目除去运行时注解的框架都会采用Kotlin编写,这样写起来也会比较快,使用起来也比较便捷
  2. 每个库写完之后会链接到上方列表
  3. 个人能力问题,可能写不了很快很好
  4. UI库会出一些TV版,方便别人也方便自己吧
  5. 文章会同步到博客上
  6. 中间会有一些其他知识的分享

暂时只有这么多了,剩下的就是希望不要断更

二、库详解

README

博客地址

  1. 类似微信朋友圈图片九宫格
  2. 标签列表选择view:ChooseFlowView

3.1 设计以及使用

  1. 类似微信朋友圈图片九宫格
  2. 标签列表选择view:ChooseFlowView

Android Dialog,Toast封装

博客地址 1.Android Dialog,Toast封装

README

博客地址:

  1. 多任务处理器初版
  2. 多任务处理器更新

18.1 设计原理:

  1. 最初设计原理
  2. 优化设计

18.2 使用:

  1. 多任务处理器库使用

博客地址: 1.android日志工具类:ripple_log

modulesample's People

Contributors

fanyafeng avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.