amitshekhariitbhu /Fast-Android-Networking

🚀 A Complete Fast Android Networking Library that also supports HTTP/2 🚀

★ 5,936⑂ 977👁 223⑃ 46● 571▤ 10
JavaApache-2.0Created 2016-03-21outcomeschool.com
More from this author
Download: Release 1.0.4Release-1.0.4 ↓1.0.42024-08-18
-1
Daily
5,936
stars
977
forks
223
watchers
46
prs
571
issues
10
releases

README

Fast Android Networking Library

 About Fast Android Networking Library

Fast Android Networking Library is a powerful library for doing any type of networking in Android applications which is made on top of OkHttp Networking Layer.

Fast Android Networking Library takes care of each and everything. So you don't have to do anything, just make request and listen for the response.

 Why use Fast Android Networking ?
 Recent removal of HttpClient in Android Marshmallow(Android M) made other networking libraries obsolete.
 No other single library does each and everything like making request, downloading any type of file, uploading file, loading
  image from network in ImageView, etc. There are some libraries but they are outdated.
 No other library provides simple interface for doing all types of things in networking like setting priority, cancelling, etc.
 As it uses Okio , No more GC overhead in android applications.
  Okio is made to handle GC overhead while allocating memory.
  Okio does some clever things to save CPU and memory.
 It uses OkHttp , more importantly it supports HTTP/2.  

 About me

Hi, I am Amit Shekhar, Founder @ Outcome School • IIT 2010-14 • I have taught and mentored many developers, and their efforts landed them high-paying tech jobs, helped many tech companies in solving their unique problems, and created many open-source libraries being used by top companies. I am passionate about sharing knowledge through open-source, blogs, and videos.

 Follow Amit Shekhar

- X/Twitter
- LinkedIn
- GitHub

 Follow Outcome School

- YouTube
- X/Twitter
- LinkedIn
- GitHub

 I teach at Outcome School

- AI and Machine Learning
- Android

Join Outcome School and get a high-paying tech job: Outcome School

 Outcome School Blog - High-quality content to learn Android concepts.

 RxJava2 Support, check here.

 Find this project useful ? :heart:
 Support it by clicking the :star: button on the upper right of this page. :v:

For full details, visit the documentation on our web site :



 Requirements

Fast Android Networking Library can be included in any Android application. 

Fast Android Networking Library supports Android 2.3 (Gingerbread) and later. 

 Using Fast Android Networking Library in your application

Add this in your settings.gradle:
groovy
maven { url 'https://jitpack.io' }


If you are using settings.gradle.kts, add the following:
kotlin
maven { setUrl("https://jitpack.io") }


Add this in your build.gradle
groovy
implementation 'com.github.amitshekhariitbhu.Fast-Android-Networking:android-networking:1.0.4'


If you are using build.gradle.kts, add the following:
kotlin
implementation("com.github.amitshekhariitbhu.Fast-Android-Networking:android-networking:1.0.4")


Do not forget to add internet permission in manifest if already not present
xml


Then initialize it in onCreate() Method of application class :
java
AndroidNetworking.initialize(getApplicationContext());

Initializing it with some customization , as it uses OkHttp as

Top issues

Latest release

Release 1.0.4 1.0.4 2024-08-18

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON