https://kotlinlang.org logo
Title
h

hisham bin awiad

02/13/2021, 2:50 PM
Hi all .. i am new with Qraph QL
android side
, any recommended resource for start with it . i hope to find any resource with
Retrofit
plz share any resource with me
m

mbonnin

02/13/2021, 2:56 PM
Hi 👋 , you can take look at https://www.apollographql.com/docs/android/tutorial/00-introduction/. If you have any question feel free to ask in #apollo-android
🌹 1
Using retrofit is usually not very helpful for GraphQL as GraphQL APIs usually have a single endpoint and defining a retrofit service for just one endpoint is a bit overkill
h

hisham bin awiad

02/13/2021, 3:40 PM
Thx bro .... what about this :
You can choose to use Apollo in android when you query is static. But what happen when the query is dynamic query?
resource link : https://thedeveloperworldisyours.com/android/how-to-use-graphql-with-retrofit-on-android/
m

mbonnin

02/13/2021, 3:45 PM
Sure, that works too. That doesn't use a lot of the retrofit features like adapters or the typesafe models from apollo but if you're comfortable with this, go for it!
👍 1
h

hisham bin awiad

02/13/2021, 3:50 PM
Thx bro .... let me try Apollo