Differences

This shows you the differences between two versions of the page.

Link to this comparison view

smd:laboratoare:05 [2021/04/15 20:04]
adriana.draghici [Lab 5. HTTP and web services]
smd:laboratoare:05 [2021/05/18 22:17] (current)
adriana.draghici [Tasks]
Line 168: Line 168:
 </​code>​ </​code>​
 <​code>​ <​code>​
 +apply plugin: '​kotlin-kapt'​
 +
 dependencies { dependencies {
     implementation '​com.squareup.retrofit2:​retrofit:​2.9.0'​     implementation '​com.squareup.retrofit2:​retrofit:​2.9.0'​
-    implementation("com.squareup.moshi:​moshi-kotlin:​1.12.0"​)+    implementation ​'​com.squareup.retrofit2:​converter-moshi:​2.9.0'​ 
 +    implementation 'com.squareup.moshi:​moshi-kotlin:​1.12.0' 
 + 
 +    kapt "​com.squareup.moshi:​moshi-kotlin-codegen:​1.11.0"
 } }
 </​code>​ </​code>​
  
 +<​note>​Kotlin example for retrofit on our lab's repo: [[https://​github.com/​SMD-UPB/​labs/​tree/​main/​lab5-demos/​retrofit-demo-kotlin|retrofit-demo-kotlin]]</​note>​
 ==== Tasks ==== ==== Tasks ====
  
Line 223: Line 228:
 === Resources === === Resources ===
  
-{{:​smd:​laboratoare:​lab5_skel.zip|}}+   ​* ​{{:​smd:​laboratoare:​lab5_skel.zip|}} 
 +   * [[https://​github.com/​SMD-UPB/​labs/​tree/​main/​demos|Demo app for Retrofit shown during a lab]]
  
  
smd/laboratoare/05.1618506286.txt.gz · Last modified: 2021/04/15 20:04 by adriana.draghici
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0