Using the Fast Android Networking with Jackson Parser
Add this in your settings.gradle
:
maven { url 'https://jitpack.io' }
If you are using settings.gradle.kts
, add the following:
maven { setUrl("https://jitpack.io") }
Add this in your build.gradle
implementation 'com.github.amitshekhariitbhu.Fast-Android-Networking:jackson-android-networking:1.0.4'
If you are using build.gradle.kts
, add the following:
implementation("com.github.amitshekhariitbhu.Fast-Android-Networking:jackson-android-networking:1.0.4")
Then initialize it in onCreate() Method of application class :
AndroidNetworking.initialize(getApplicationContext());
Then set the JacksonParserFactory like below
AndroidNetworking.setParserFactory(new JacksonParserFactory());