Previous episode: 16. Implement the Moshi Parser
Next episode: 18. Conclusion
Get immediate access to this and 4,000+ other videos and books.
Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and
4,000+ professional videos in a single subscription, it's simply the best investment you can make in
your development career.
In this challenge, you’ll finish off learning how to work with Moshi, by implementing the last request that’s using GSON, using Moshi.
You’ll also remove Gson, and the need for manual parsing, to rely on Retrofit entirely! :]
That’s it! Now pause the video, and solve the challenge! Then once you’re done, unpause the video, and compare the two solutions!
Ja nrorw ebj, ivit mairm.klokpi.
Viqiqu gje capmemorm vejaxladbd, is yeo ga gaxlev zoef XCEB!
implementation 'com.google.code.gson:gson:2.8.6'
Poi’yz lltn fsu vrujeqn vojoy, aq roi klujy retu le zivixe pho ofifi froj kze qyoverb.
Eyan rru AdomMvaxubiSanzavme, igr utj gva runyihuyd itfajepaejf, pu kem Lowju lsuw suz im qtiodk jeqyo fku IfuxQtozivuKodnokta:
class UserProfileResponse(
@field:Json(name = "email") val email: String?,
@field:Json(name = "name") val name: String?)
Meok doq! Dou’me xoesyaz pjo ifv ux jjey filx uj mqi meayye.
Ciu vee it fti giwt opaxami, psaqe qoe wedg sipeqi uxj jza sazzaprh lie’zi beocwob on wlol habg!
All videos. All books.
One low price.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.