Awesome Open Source
Awesome Open Source

DevComponent

Profile License Version API

Android

Android Java Git

About

Android Module Module

Android 100% Kotlin ARouter Android JetPack + Kotlin MVVM ( DataBinding + ViewModel + Lifecycle )

APP APP
APP APK
lib_XXX
module_XXX APP Main
core core UI core Library ( )

- component          | 
   - core            | 
   - libs            |  Library clone 

core

Core Module Dev ( module ) module ( core libs )

- core                                 | 
   - core                              |  (  core libs,  module  )
   - core_base_lib                     |  ( libs  )
   - libs                              | ,  lib
      - lib_base                       |  ( ActivityApplication  )
      - lib_bean                       |  ( module  )
      - lib_channel_flavors            | App 
      - lib_config                     | 
      - lib_debug_assist               | Debug  (  )
      - lib_engine                     |  Engine ( JSON ) lib
      - lib_environment                | 
      - lib_network                    |  lib (  )
      - lib_property                   |  lib
      - lib_receiver                   |  (  ) 
      - lib_router                     | 
      - lib_ui                         |  stylewidgetui 
      - lib_upload                     | 
      - lib_utils                      | 
      - lib_web                        | WebView 

libs

clone

- libs                            | 
   - lib_circle_igview            | clone CircleImageView  (  )

- application       | 
   - app            |  ( APP  )
   - module         |  (  ) (  ) 

module

Module isModular=true false ( )

- module                          | 
   - module_main                  |  Module
   - module_splash                |  (  ) Module
   - module_template              |  Module (  copy )
   - module_user                  |  Module
   - module_wanandroid            |  Android Module

core

  • Activity

    • onBackPress Fragment
  • Fragment

    • LoadingDialog Message
    • ( ContentErrorLoadingEmpty )
    • List Refresh LoadMore
  • Adapter
    • RecyclerView
    • ViewPager
  • App

lib_engine Engine ( JSON )



Android

Android Studio gradle gradle application apk library aar Gradle

modular.gradle

//  ( true = , false =  )
isModular = false

def isModular = isModular.toBoolean()

if (isModular) { // 
    apply from: rootProject.file(files.build_application_gradle)
} else { // ,  module  library
    apply from: rootProject.file(files.build_library_module_gradle)
}

ARouter

core MavenCentral Links - Maven Maven aar

  • Application
  1. Jetpack App Startup Module
  2. ARouter IProvider ( IProvider )
  1. LiveEventBus / EventBus
  2. ARouter IProviderBroadcastReceive

Link

License

Copyright 2022 afkT

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.
Alternatives To Devcomponent
Select To Compare


Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Kotlin (53,231
Coroutines (3,343
Kotlin Android (2,939
Viewmodel (2,428
Databinding (1,514
Jetpack (636
Arouter (36
Devutils (6
Appstartup (4