What is HashMap & Map ?
Map is an Interface and HashMap is class Implements Map
Map<K,V> is an interface, HashMap<K,V> is a class that implements Map.
you can do
Map<Key,Value> map = new HashMap<Key,Value>();
What are pass by reference and pass...
Friday, December 30, 2016
Wednesday, December 28, 2016
File upload using OkHttp and Cookie Manager in Android
OkHttp is a modern application network, OkHttp will help making network calls efficiently, makes our stuffs load faster and saves the BandWidth.
Some of the advantages listed by OkHttp are :
Connection pooling reduces the request latency.
Transparent GZIP shrinks download sizes.
Response...
Replace Deprecated HTTP client/mime by Okhttp/Retrofit library while making API calls in Android
Hope everyone know recently Google has did great change on networking API, and most effective one on developer side is org.apach Apache,
So now it is every Android Developer job to kick out their own methods/classes/interfaces which they created to
make network(using...
Wednesday, December 14, 2016
Android APK size/Reduce Android APK Size/APK size is huge/How to reduce apk size in android studio
How to reduce apk size in android studio
Configure Your Build for APK Splits
To enable APK splits, add a splits {} block to your module-level build.gradle file. Within the splits {}block, provide a density {} block that specifies how Gradle should generate per-density...