Android Retrofit - PRABEESH R K
Some information we should know [] → Means JSON Array. {} → Means JSON object. when we will try to fetch data from Any JSON or from any server then we should check very carefully that Scripts and should understand the type of JSON. is that starts with JSON Array? OR JSON Object? flowers.json [ start with array / list of objects ] Vs yahoo weather api [ start with the object named query which includes many objects. ] 🔑Add internet permission in manifest file. 🔑Add some Dependencies : compile 'com.squareup.retrofit2:retrofit:2.2.0' compile 'com.squareup.picasso:picasso:2.5.2' compile 'com.squareup.retrofit2:converter-gson:2.2.0' OR compile 'com.squareup.retrofit2:retrofit:2.3.0' compile 'com.squareup.picasso:picasso:2.5.2' compile 'com.squareup.retrofit2:converter-gson:2.3.0'

মন্তব্যসমূহ
একটি মন্তব্য পোস্ট করুন