Skip to content

v1.0.0

Choose a tag to compare

@98kmc 98kmc released this 01 Mar 19:12
· 25 commits to main since this release

Release 1.0.0

Description:

Introducing the initial release of the Networking library, a versatile and concise tool for handling network requests in Android applications. This library leverages the power of Retrofit to provide a clean and efficient networking layer.

Key Features:

  • Networking Class: Centralizes network operations, supporting common HTTP methods such as GET, POST, PUT, PATCH, and DELETE.

  • DataTask Builder: Offers a fluent API for constructing network tasks with flexible options, including custom HTTP methods, request bodies, headers, and OkHttpClient customization.

  • NetworkCaller & NetworkService Interfaces: Abstractions to simplify the integration of the library into your Android project.

  • Request Functions: Convenient inline functions (request and safeRequest) for making network requests and handling responses with ease. Includes support for specifying HTTP methods, request bodies, headers, and custom OkHttpClient instances.

  • Error Handling: Comprehensive error handling for various scenarios, such as HTTP status code validation, null response bodies, and exceptions during network operations.