Code Monkey home page Code Monkey logo

appframework's Introduction

Appframework 展示核心模块的demo 此项目只是UI展示,调用方式展示

  # 注:项目中的所有核心模块已托管,托管地址https://github.com/yuanhy/AppframeworkLib
  # 如有疑问可联系:QQ 375082603(免费解答)
  #1.引用方式
   工程的gradle 中添加
   allprojects {
   		repositories {
   		...
   			maven { url 'https://jitpack.io' }
   		}
   	}

  #项目的gradle 中添加
   dependencies {
   	        implementation  'com.github.yuanhy:AppframeworkLib:Tag'
   	}
  #2. 项目中所引用的外部动态库

       implementation 'com.jakewharton:butterknife:9.0.0'
     annotationProcessor 'com.jakewharton:butterknife-compiler:9.0.0'
      implementation 'com.github.bumptech.glide:glide:3.7.0'
      implementation 'io.reactivex.rxjava2:rxjava:2.2.8'
    implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'

     implementation 'com.squareup.retrofit2:retrofit:2.5.0'
     implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
      implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
     implementation 'com.squareup.okhttp3:okhttp:3.12.0'
     // 日志的拦截器,也可以自行选择
     implementation 'com.squareup.okhttp3:logging-interceptor:3.6.0'
  #3 在 Application 初始化
  #  AppFramentUtil.initAppFramentUtil(this);
  #4 功能介绍:
    a: 断点下载文件
    使用方式 参考:FileDownActivity
     b: MVP 架构模式
       参考 :RetrofitAndRxjavaDemoActivity
    c: 版本更新
      参考 :AppUpdataActivity
     d:app状态栏 适配
       使用方式 集成BaseActivity
      实现 setTransparent接口/**
        public void setTransparent() {
        setTransparent(boolean transparent);//true 黑色字体,白色背景;false 白色字体
       }

appframework's People

Contributors

yuanhy avatar

Stargazers

paihuai avatar  avatar  avatar  avatar  avatar lautung avatar sauce avatar Rocky avatar 疯子来过 avatar 杨小五 avatar

Watchers

James Cloos avatar  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.