Common
Common copied to clipboard
Common is a basic component library for android ——UI Components, MVP Base, MVP Customization, Auto Loader, Auto Pager, Components, Tools; UI组件化,MVP Base,MVP定制, 自动加载,自动分页Pager, 模块...
Common for Android
Common is a basic component library for android.
Set up
Maven:
<dependency>
<groupId>com.dsiner.lib</groupId>
<artifactId>common</artifactId>
<version>2.0.0</version>
</dependency>
or Gradle:
// AndroidX
implementation 'com.dsiner.lib:common:2.0.0'
// Or Support
implementation 'com.dsiner.lib:common:1.2.1'
Module
-
lib
- Core -
app
- Guide module -
module_ui
- Business module -
module_mvp
- Business module -
module_loader
- Business module
lib
is the core library that contains the basic components.
module_ui
, module_mvp
, ...
are business modules, you can also call them business subcontracting, here are examples of the use of each component in lib
.
Framework
- [x] UI
- [x] UI Components
- [x] MVP Base
- [x] MVP Customization
- [x] Auto Loader
- [x] Auto Pager
- [x] Data
- [x] Data
- [x] SharePreference
- [x] DataBase
- [x] Event
- [x] Bus
- [x] EventBus
- [x] Network
- [x] Aster
- [x] Thread
- [x] TaskScheduler
- [x] RxJava
- [x] Components
- [x] PullLayout - Pull down refresh, load more
- [x] Cache - Cache
- [x] Glide - Image Loading
- [x] PermissionCompat - Runtime permissions
- [x] Tools
Screenshot
More usage see Wiki.
Latest Changes
- Changelog.md
Licence
Copyright 2018 D
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.