https://kotlinlang.org logo
#android
Title
# android
i

Ive Vasiljevic

02/26/2019, 10:07 AM
Has anyone ever used Moshi as a converter for retrofit. I am having some problems with Array List. Exception is thrown because I don't have an adapter for array list. I don't quite understand what I am supposed to do here. Retrofit version 2.5.0.
g

gildor

02/26/2019, 10:07 AM
#squarelibraries
i

Ive Vasiljevic

02/26/2019, 10:08 AM
👍
r

Rémy

02/26/2019, 11:02 AM
As a rookie developer, Square libs are bad ? Objective thought please 😛
1
g

gildor

02/26/2019, 11:57 AM
Bad? What do you mean? How objectively can you talk about all libraries from particular (very productive in terms of open source) company, I believe objective discussion maybe only about particular library in a particular case, but imo general level of libraries from Square is very high
r

Rémy

02/26/2019, 12:07 PM
I asked because I didn’t understand what you means with the hashtag 😛 (sarcastic or not). I use Square libraries and I’m happy with them ^^ So what do you think about Moshi, instead of Gson, and so on ?
g

ghedeon

02/26/2019, 12:09 PM
wtf 😆
🙈 2
it's not Twitter,
hashtag
== channel
g

gildor

02/26/2019, 12:11 PM
It's not a hashtag, but link on related channel 😬 Also discussion Moshi vs Gson is actually off topic for this slack
r

Rémy

02/26/2019, 12:11 PM
Sorry 😑
g

ghedeon

02/26/2019, 12:20 PM
@Ive Vasiljevic fyi, you might consider kotlin serialization for the same purpose, there is a retrofit converter.
i

Ive Vasiljevic

02/26/2019, 12:24 PM
@ghedeon Well the thing is...I am new with kotlin and retrofit all together and a guy from my company suggested to me that I should use Moshi instead of Gson for converting. Since I made that transition I ran into problems as you can see, but I worked it out with using Lists instead of ArrayLists. So for now that will do it. Nonetheless thanks for your suggestion I'll check it out 🙂
g

ghedeon

02/26/2019, 12:27 PM
that guy said the right thing, you're on the good track 😉
2 Views