Browse Source

简化使用方法,添加注解实现权限动态获取

yanyi 5 years ago
parent
commit
6ae6d665ca
2 changed files with 140 additions and 0 deletions
  1. 122 0
      .gitignore
  2. 18 0
      README.md

+ 122 - 0
.gitignore

@@ -0,0 +1,122 @@
+*.iml
+.gradle
+.idea
+/.idea
+/local.properties
+/.idea/libraries
+/.idea/modules.xml
+/.idea/workspace.xml
+.DS_Store
+/build
+/captures
+.externalNativeBuild
+### Java template
+# Compiled class file
+*.class
+
+# Log file
+*.log
+
+# BlueJ files
+*.ctxt
+
+# Mobile Tools for Java (J2ME)
+.mtj.tmp/
+
+# Package Files #
+#*.jar
+#*.war
+#*.nar
+#*.ear
+#*.zip
+#*.tar.gz
+#*.rar
+
+# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
+hs_err_pid*
+
+### Android template
+# Built application files
+*.apk
+*.ap_
+*.aab
+
+# Files for the ART/Dalvik VM
+*.dex
+
+# Java class files
+*.class
+
+# Generated files
+bin/
+gen/
+out/
+release/
+
+# Gradle files
+.gradle/
+build/
+
+# Local configuration file (sdk path, etc)
+local.properties
+
+# Proguard folder generated by Eclipse
+proguard/
+
+# Log Files
+*.log
+
+# Android Studio Navigation editor temp files
+.navigation/
+
+# Android Studio captures folder
+captures/
+
+# IntelliJ
+/.idea
+.idea
+.idea/workspace.xml
+.idea/tasks.xml
+.idea/gradle.xml
+.idea/assetWizardSettings.xml
+.idea/dictionaries
+.idea/libraries
+# Android Studio 3 in .gitignore file.
+.idea/caches
+.idea/modules.xml
+# Comment next line if keeping position of elements in Navigation Editor is relevant for you
+.idea/navEditor.xml
+
+# Keystore files
+# Uncomment the following lines if you do not want to check your keystore files in.
+#*.jks
+#*.keystore
+
+# External native build folder generated in Android Studio 2.2 and later
+.externalNativeBuild
+
+# Google Services (e.g. APIs or Firebase)
+# google-services.json
+
+# Freeline
+freeline.py
+freeline/
+freeline_project_description.json
+
+# fastlane
+fastlane/report.xml
+fastlane/Preview.html
+fastlane/screenshots
+fastlane/test_output
+fastlane/readme.md
+
+# Version control
+vcs.xml
+
+# lint
+lint/intermediates/
+lint/generated/
+lint/outputs/
+lint/tmp/
+# lint/reports/
+

+ 18 - 0
README.md

@@ -0,0 +1,18 @@
+# BasePermission
+权限工具类
+
+### 使用方法
+
+module 下添加
+
+     implementation 'com.yanyi.benyanyi:permissionlib:1.0.7'
+
+具体使用查看[wiki](https://github.com/BenYanYi/BasePermission/wiki)
+
+### 版本更新
+* 2019-06-12更新(1.0.7) 优化方法,规范方法,修改包名,以便所有开源库统一包名
+* 2019-05-30更新(1.0.6) 优化注解调用方法
+* 2019-05-24更新(1.0.5) 添加注解调用申请权限
+* 2019-01-21更新(1.0.2) 修复自定义弹窗信息,弹窗设置不显示状态时没回调
+* 2018-06-09更新(1.0.1) 新增弹窗配置信息修改(PermissionDialogInfo)
+* 2018-06-08创建(1.0.0) 创建