Understanding JSON and using GSON in Android with Kotlin and Android Studio

  Рет қаралды 25,226

tutorialsEU

tutorialsEU

Күн бұрын

Пікірлер: 46
@tutorialsEU
@tutorialsEU 4 жыл бұрын
🚀 Android & Kotlin Masterclass - Become a serious Android app developer with our best-selling masterclass: bit.ly/3PaKdhS
@KonstantinGanchin
@KonstantinGanchin 2 жыл бұрын
That was very elegant code, man! And the sound quality is brilliant! English is also very pleasent to understand! Great content!
@klaushopf2101
@klaushopf2101 4 жыл бұрын
Bro geil das du wieder auf youtube was machst .. back to the roots :) mach aufjedenfall weiter hier :)
@sanjogpanda2597
@sanjogpanda2597 4 жыл бұрын
Please put more content on android. You are helping us a lot.
@dantegraphics6259
@dantegraphics6259 4 жыл бұрын
Hey, i'm having an issue at 20:38 where my tv_name are all red and the holder.tvName.text above that code is also red. Well, the text part is. Not very experienced when it comes to kotlin and android studio and I can't seem to figure what the issue is. Any suggestions?
@dantegraphics6259
@dantegraphics6259 4 жыл бұрын
I found the issue. in my build.gradle i didnt have an id 'kotlin-android-extensions' so i added it in as a plugin below the others. This worked for me so if anyone has a similar issue here is a potential fix
@tutorialsEU
@tutorialsEU 4 жыл бұрын
Hi Dante. Yes that's one way to solve it. I made a video on the three ways and which one is the best: kzbin.info/www/bejne/ani7l59_mdefq9U
@dantegraphics6259
@dantegraphics6259 4 жыл бұрын
@@tutorialsEU Ty! By the way, do you have a tutorial on sorting these lists/recycler views? I'm making an app for my school assessment task and i need to incorporate bubble sorts, insertion sorts and selection sorts and tbh I don't really know how to go about it.
@dantegraphics6259
@dantegraphics6259 4 жыл бұрын
Another thing, I would like to have the user add their own elements into the JSON array. From what I understand, JSON file is read only so it needs to be saved to internal storage and then can be edited. What I really want to do is make a button that can allow the user to 'add' their own user to the list. Is there a way to do this after following this tutorial?
@YonatanLeulseged-o6j
@YonatanLeulseged-o6j Жыл бұрын
This works. Thank you@@dantegraphics6259
@anthonyburke5147
@anthonyburke5147 3 жыл бұрын
Excellent video! Thanks heaps
@chalot001
@chalot001 4 жыл бұрын
Thanks a lot, my teacher. You are a good man!
@tmjromao
@tmjromao 2 жыл бұрын
Hello, found this video. Well explained but how would do this in 2022, with Jetpack Compose?
@DigiWongaDude
@DigiWongaDude Жыл бұрын
Let me know if you found any help please?
@kingfisher3791
@kingfisher3791 3 жыл бұрын
Plz do video on motion layout
@jacques-oliveira-01
@jacques-oliveira-01 3 жыл бұрын
Amazing explanation pretty good lesson, thanks man!
@vanfrancisco4573
@vanfrancisco4573 3 жыл бұрын
I can't seem to access assets.open() method it returns unresolved reference. tried importing packages but still won't cut .
@nihalouhaouada4857
@nihalouhaouada4857 3 жыл бұрын
You have to write : context.assets.open(file)
@adrilseanbartolome9102
@adrilseanbartolome9102 3 жыл бұрын
this used to be easy in webdevelopment lol. didn't expect GSON kotlin tutorials to be this long. btw, still good tutorial :)
@samkitsanghavi4927
@samkitsanghavi4927 3 жыл бұрын
Sir can you make a video on expandable listview? fetching nested data from json file using gson in kotlin?
@tutorialsEU
@tutorialsEU 3 жыл бұрын
This sounds like quite a mouth full. Will check it out, but can't promise it.
@unknownurs2367
@unknownurs2367 3 жыл бұрын
What if we have multiple arrays, how we can fetch those array names and display array content when we click on particular array object. How sort arrays in json alphabetical order.
@dieisonrochadasilveira3496
@dieisonrochadasilveira3496 2 ай бұрын
How do I search or filter through searchView?
@forooghvarmazyar9759
@forooghvarmazyar9759 2 жыл бұрын
thanks a lot :)
@Jesus-ez7sj
@Jesus-ez7sj 3 жыл бұрын
I have several errors, although I did everything the same, could you help me. Unresolved reference: rvUsersList , Unresolved reference: Gson ,Unresolved reference: LinearLayoutManager ,Unresolved reference: rvUsersList , Unresolved reference: JSONException ,Unresolved reference: Charset ,Unresolved reference: IOException
@juhanamkedirakumer4730
@juhanamkedirakumer4730 3 жыл бұрын
so much helpful. thank you for your hard work to post such an excellent video. sir do you have the same video while parsing JSON from website. now you are fetching from the asset folder in the android main folder. I want the same code but only fetching the json data from the website. please send the code or guide me on how to fetch the JSON for this project from the website. Thank you in advance
@Sacknase381
@Sacknase381 Жыл бұрын
if i try to do userlisst[i].name the whole app crashes
@jacecrawford6015
@jacecrawford6015 3 жыл бұрын
Started learning all this about two months ago. Really difficult when things like synthetic x has changed so much and all the guides are showing an older way of connecting view. Even stuff only 6 months old has a ton of depracated concepts.
@keisjones1049
@keisjones1049 2 жыл бұрын
i had to add view binding
@bikramchettri9405
@bikramchettri9405 4 жыл бұрын
Sir can you make a tutorial on making music player app?
@md.shorifulhasan3149
@md.shorifulhasan3149 3 жыл бұрын
One of my apps is developed by Kotlin language. After fetching my Data from API by using the retrofit library in my app then I am facing a memory problem on my virtual device.
@diggerfdf
@diggerfdf 4 жыл бұрын
Another suggestion. Using JSON to prepare data in Unity games. Does JSON integrates with C# like in python?
@alokapatel8159
@alokapatel8159 4 жыл бұрын
Sir is this video included in your 45 hour long course on Android Development on Udemy ?
@tutorialsEU
@tutorialsEU 3 жыл бұрын
Hi Aloka, for some reason I see this message just now. Yes it is included
@hajyosrihosni786
@hajyosrihosni786 4 жыл бұрын
thx
@dkmarwat5806
@dkmarwat5806 4 жыл бұрын
good sir
@hermanheunis9354
@hermanheunis9354 2 жыл бұрын
Gson fun starts at 38:04
@Sacknase381
@Sacknase381 Жыл бұрын
i have no charset class, please dont skip as much stuff
@12345charliebrown
@12345charliebrown 3 жыл бұрын
import json obj = json.loads(s) dont really need an hour long video to use json in python.
@12six69
@12six69 2 жыл бұрын
takes more time
@12345charliebrown
@12345charliebrown 2 жыл бұрын
@@12six69 my point being why isn't there a defacto json serializer built into standard Kotlin library?
@santi7761
@santi7761 2 жыл бұрын
amazing, it's a worst tutorial
Retrofit Tutorial #1 - GET Simple JSON [Retrofit with Android Studio]
29:06
УНО Реверс в Амонг Ас : игра на выбывание
0:19
Фани Хани
Рет қаралды 1,3 МЛН
Google Firebase Authentication Android Kotlin Tutorial
34:23
tutorialsEU
Рет қаралды 50 М.
JSON Parsing using Volley Android [ Kotlin ]
17:01
Programming Guru
Рет қаралды 7 М.
Retrofit Tutorial #3 - Parsing JSON using Retrofit - [Movie App]
27:18
Parsing JSON from Assets into RecyclerView - [JSON Parsing Course #4]
20:33
Learn JSON in 10 Minutes
12:00
Web Dev Simplified
Рет қаралды 3,3 МЛН
CppCon 2014: Mike Acton "Data-Oriented Design and C++"
1:27:46
Notes App With Firebase | Android | 2024
1:36:01
Easy Tuto
Рет қаралды 55 М.