Every android app has a lot of common code, which could be shared (platform specific code). Besides kotlin multiplatform, where the main goal is to share as much business logic code as possible, there is also a need to share common, platform specific code between apps.
Advantages:
- With every Android update, you update the code base once for all apps
- You write less code, have less bugs and do not repeat yourself (DRY)
- You can focus on the core of your app
Usage:
<dependency>
<groupId>com.treslines.appbase</groupId>
<artifactId>appbase</artifactId>
<version>1.0</version>
</dependency>
- ViewExt.kt - Extensions for views
- ViewGroupExt.kt - Extensions for view groups
- FragmentExt.kt - Extensions for fragments
- ActivityExt.kt - Extensions for activities
- BaseAdapter.kt - Kotlin Generic Base Adapter for ViewTypes
- SharedPrefencesUtil.kt - Goodies for local storage
- Fork, contribute, make a pull request
- MIT license
- Copyright 2020 © Ricardo Ferreira
Ricardo Ferreira Programador de Elite - 📸 Instagram: Fazer você ganhar + de R$700.000/ano programando! 🔥 Programador de Elite - 🐦 Twitter: Fazer você ganhar + de R$700.000/ano programando! 🔥 Programador de Elite - 📹 Youtube: Fazer você ganhar + de R$700.000/ano programando! 🔥 Programador de Elite - 🎓 Design Pattern: Tired to figure out adequate design patterns for your app? Try it using codegram!