Repolode
afkT

afkT/DevUtils

An Android utility library of 300+ helper classes and API wrappers, split into modular Dev-series libraries for common app development tasks.

Stars
1,609
Forks
315
Open issues
2
Last commit
4 days ago

What is it?

DevUtils is an Android utility library that wraps frequently used operations into ready-to-call helper classes and API methods, grouped by functional area. The project aims to make everyday Android development faster and more reliable by reducing the amount of boilerplate developers need to write.

The library is distributed as a family of separately versioned modules. Among them are DevApp for general Android utilities, DevBase for MVP and MVVM base classes, DevWidget for custom view components, DevRetrofit for Retrofit with Kotlin Coroutines, DevHttpManager for OkHttp management, DevHttpCapture for OkHttp traffic inspection, DevEnvironment for switching build environment configurations, and DevJava for utilities that do not depend on the Android API.

Each module is published to Maven Central under the io.github.afkt group and is added to a Gradle project with a single implementation line. The project also maintains its own Android, Java and Git coding standards.

Key features

  • 01Provides 300+ utility classes covering common Android development tasks.
  • 02Splits functionality into modules so you can add only what you need.
  • 03Includes base classes for MVP and MVVM architectures.
  • 04Wraps Retrofit with Kotlin Coroutines and manages multiple OkHttp base URLs.
  • 05Offers OkHttp traffic capture and build environment switching for debugging.

Use cases

  • Speeding up routine Android code with ready-made helper methods.
  • Adding OkHttp request inspection to debug builds.
  • Structuring an app with shared MVP or MVVM base classes.
  • Using pure Java utilities in projects that avoid Android dependencies.

Quick start

  1. 1

    Add the DevAppX Android utility library to your Gradle dependencies

    implementation 'io.github.afkt:DevAppX:2.5.3'

Things to know

  • Targets Android only, with a minimum API level of 23.
  • The main README and linked docs are mostly in Chinese.

In collections

Topics

FAQ

What is DevUtils?
An Android utility library of 300+ helper classes and API wrappers, split into modular Dev-series libraries for common app development tasks. DevUtils is an Android utility library that wraps frequently used operations into ready-to-call helper classes and API methods, grouped by functional area. The project aims to make everyday Android development faster and more reliable by reducing the amount of boilerplate developers need to write.
Is DevUtils free to use? What license does it have?
DevUtils is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
Is DevUtils still maintained?
Actively maintained. The last commit to DevUtils was on Nov 3, 2026.
What can I use DevUtils for?
Speeding up routine Android code with ready-made helper methods. Adding OkHttp request inspection to debug builds. Structuring an app with shared MVP or MVVM base classes. Using pure Java utilities in projects that avoid Android dependencies.
How do I install DevUtils?
Add the DevAppX Android utility library to your Gradle dependencies: implementation 'io.github.afkt:DevAppX:2.5.3'
Where can I get DevUtils?
The source code and installation instructions are on GitHub: https://github.com/afkT/DevUtils

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects