Fast-Android-Networking
π A Complete Fast Android Networking Library that also supports HTTP/2 π
Fast Android Networking is an open-source library for Android app developers who need to send requests to the internet and receive responses back. It handles the full range of networking tasks in one place: sending GET and POST requests, uploading and downloading files, and loading images from a web URL directly into a view on screen.
The library is built on top of OkHttp, a widely-used networking layer maintained by Square. Because of this foundation, it supports HTTP/2, which allows multiple requests to share a single connection and speeds up communication with modern servers. It also uses Okio for memory management, which reduces the overhead that normally comes with allocating and freeing memory in Android apps.
Adding it to a project requires a few lines in the build configuration files, and the initialization step is a single method call inside the app's startup class. From there, requests are written in a chain-style format: you specify the URL, add headers or body parameters, set a priority level (like LOW or MEDIUM), build the request, and then attach listeners that receive either a successful response or an error. The same pattern applies to GET, POST, PUT, DELETE, and file download or upload operations.
The library also supports cancel-by-tag, meaning you can attach a string label to any request and then cancel all requests with that label at once. This is useful in Android apps where screen navigations happen frequently and ongoing requests tied to a previous screen should be stopped to avoid processing results that are no longer needed.
Optional add-ons let you use it with Jackson (a data-parsing library) or with RxJava2 (a reactive programming tool for handling asynchronous events). The project was created by Amit Shekhar, founder of Outcome School, and has seen no major releases since version 1.0.4.