Skip to content

BasicUI是一些常用的Android UI组件和一些实用工具类封装,提高Android的开发效率

Notifications You must be signed in to change notification settings

Peakmain/BasicUI

Repository files navigation

BasicUI


BasicUI是一些常用的Android UI组件和一些实用工具类封装,提高Android的开发效率

使用文档链接:https://github.com/Peakmain/BasicUI/wiki

How to

  • Step 1. Add the JitPack repository to your build file

Add it in your root build.gradle at the end of repositories:

    allprojects {
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }
  • Step 2. Add the dependency
implementation 'com.github.Peakmain:BasicUI:+'
  • Step 3.some probleam

    如果你的gradle版本比3.5.3高,可能会出现以下几个问题:

    1、Entry name 'AndroidManifest.xml' collided

    解决办法:在gradle.properties添加以下代码

    android.useNewApkCreator=false
    

    2、如果安装失败,用adb install安装报错提示如下

    failed to install app-debug.apk: Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION: Failed to parse /data/app/vmdl1335956833.tmp/base.apk: Corrupt XML binary file]

    解决办法:在添加依赖的build.gradle中添加以下代码

      android{
           packagingOptions {
            exclude 'AndroidManifest.xml'
         }
       }
    
Screenshot

RecyclerView实现下拉刷新和加载更多2 RecyclerView实现下拉刷新和加载1 RecyclerView实现多状态布局 LinearlayoutManager悬浮 LinearlayoutManager分组 ItemTouchHelp实现删除和土拖拽 GridLayoutManager悬浮 GridLayoutManager分组

多条目菜单删选 仿今日头条的TableLayout 加载loading View创建Bitmap TextView的封装 popwindow+flowlayout的使用 OkHttp的封装 navigtionBar的使用 glide的使用 dialog的使用 自定义键盘 自带删除的EditText 选择器的使用 我的 文件选择 文本高亮的使用 图片压缩 图片选择 首页

关于我

Donations

如果您觉得我的开源库帮您节省了大量的开发时间,请扫描下方的二维码随意打赏,您的支持将激励我不断前进 微信 支付宝

About

BasicUI是一些常用的Android UI组件和一些实用工具类封装,提高Android的开发效率

Resources

Stars

Watchers

Forks

Packages