Android Tutorial: Retrofit + RecyclerView + REST API

preview_player
Показать описание
Most Android apps need data from a server, whether that's Firebase, AWS, Google Cloud Platform, or some other cloud database. Android Developers can use Retrofit to parse JSON data from RESTful API's. See how to convert JSON into a RecyclerView with Android Studio in this tutorial.

Рекомендации по теме
Комментарии
Автор

just learn android for a couple of days from your videos, it's simply easy to understand from your explanation, thank you so much Daniel.

AhmadZakiRobbanyM
Автор

thank you very much. I've been looking for a complete but simple tutorial for several hours. and I couldn't find one. but yours is the one. thanks again :)

theMajesticMJ
Автор

It's really helpful... but what about nested json array?? How can we show the data from nested Array and Object?

tanvirmasum
Автор

I really like that you make it look so simple! I hope I could use this this way. Thanks

samuelpena
Автор

The Json from API doenst have a field for lastName and firstName. Instead it has a field called "name" and that is probably why its not working

Minute-Movie
Автор

i have a problem:
in ShowData() I have 2 unresolved references: layoutManager and adapter. What to do with that?

kristov
Автор

Thank you so much. I love all the tips on shortcuts for AS.

Minute-Movie
Автор

One question, did you put methods getters and setters in your class User? can you tell me the structure of that class and UserAdapter pls

thewalrus
Автор

good. thanks. I learned a lot through this video.

TamLe-etdl
Автор

Thanks for tutorial. I tried repeat it on my project, but i'am getting "Expected BEGIN_ARRAY but was BEGIN_OBJECT" error. Could you please explain what is wrong there?

ToghrulMM
Автор

10:45 I'm getting onFailure
Edit 1 After changing mutable list to list, I'm getting No adapter attached error

arpitgupta
Автор

How can i use intent here from going one activity to another and can u please show the onItemclickListener functions for this particular part??Thanks in advance

hredaysagar
Автор

hello
I want to use e-commerce website API ( Similar to Bazma Apple App) in recyclerview to use?

HarshTPatel
Автор

IT IS REALLY GREAT LECTURE! THANKS A LOT!!

satoshi-fi
Автор

Thanks! By keeping it relative simple, you help me to focus on the important things. Can you expand on this video, by adding authentication. So, the user first needs to login with email and password, in order to download his personal json file. And then saving this json file into sqlite. Would be great. :)

helanzixingche
Автор

sir this vdo layout file and sorce code i want

vi.p
Автор

Please, help me: Why i can't call api, i checked log: it jump in onFailure(); This is full my code: (it's in the comments)

giangnguyenbang
Автор

btw. your error was becose you you have mismatching variable name in User class
@SerializedName("name") will take care of it :D

tomasvyhnalek
Автор

You're killing me typing code, I wonder what could happen if you were to be a surgeon, simply blood bath 😅

poorix
Автор

Why do people make views like this and not post the source code?

mattd