SQLite + Android - Display Data in RecyclerView (Book Library App) | Part 3

  Рет қаралды 146,370

Stevdza-San

Stevdza-San

Күн бұрын

Пікірлер: 123
@slblackmamba
@slblackmamba 2 жыл бұрын
Today is the deadline of my assignment. But i couldn't create my application until today. This is the only video that helped my problem. thanks brother. Keep up the good work
@juanenriquez2798
@juanenriquez2798 3 жыл бұрын
for those who are encountering errors, watch carefully and maybe play the video with 0.5 speed, got mine working!
@jasonshin7197
@jasonshin7197 4 жыл бұрын
It is very clear and precise! It helped me a lot to understand SQLite with Android! Thanks for your valuable videos!!! :)
@paoflores9794
@paoflores9794 2 жыл бұрын
Wow, this is the last video of the series and it has been the most helpful tutorial I've found. It was very clear, good explanation. So, I am able to learn too, and I was able to deliver my assignment on time. 100/10. Thank youu :)
@gasparcalix2095
@gasparcalix2095 4 жыл бұрын
If you want to enjoy the video, jut put at 0.75. This guy know his stuff!!!
@sinoiumarzoda7857
@sinoiumarzoda7857 4 жыл бұрын
@all pls pay attention to small issues, if your app is not running. Double check. My app runs perfectly and thanks a lot sir for an excellent explanation!
@debartoloa
@debartoloa 2 жыл бұрын
Very Great job my friends!
@1CE20CS00AdarshMishra
@1CE20CS00AdarshMishra Жыл бұрын
great tutorial every things working fine, but after adding new book it does not dispaly immediately, i have to restart app once again to display it helap me
@zerodigits2413
@zerodigits2413 Жыл бұрын
Hello, did you find a solution for this? I'm also facing the same problem
@RiadVal
@RiadVal 9 ай бұрын
Same problem.
@RahulSingh-jc8gv
@RahulSingh-jc8gv 6 ай бұрын
Any solution bro please tell me.
@RahulSingh-jc8gv
@RahulSingh-jc8gv 6 ай бұрын
Any solution please tell me
@giridharb1323
@giridharb1323 3 жыл бұрын
It doesn't display anything but the data are stored in database, what would it be?
@automarketarmenia6481
@automarketarmenia6481 2 жыл бұрын
The same on my side. It displays only first record
@fatihkoc1520
@fatihkoc1520 3 жыл бұрын
Hello im just started to coding and i need to ask u why u didnt use view binding for bind and the book class for the saving informations and ArrayList for holding objects
@rorisangzensekwenyane456
@rorisangzensekwenyane456 4 жыл бұрын
My list won't display please help
@CursosDeExcelyMacros
@CursosDeExcelyMacros 2 жыл бұрын
Perfect! It is exactly what I was looking for. Thank you very much. Muchas gracias!!!
@best_books_bot
@best_books_bot 4 жыл бұрын
Awesome tutorial! Thank You!
@rahulawasthi3466
@rahulawasthi3466 2 жыл бұрын
Suppose there is so much data in database table. Reading it all at once would be infeasible. Can we implement paging to read data from database as user requires in app or there are better solution to it? Please clarify.
@MuhamadArif-hm4cw
@MuhamadArif-hm4cw 2 жыл бұрын
why my recyclerview only show one data instead of all the data in the table?
@MateMatricks5119
@MateMatricks5119 2 жыл бұрын
same problem did you find any solution?
@khimleshgajuddhur6892
@khimleshgajuddhur6892 Жыл бұрын
There's already the solution to that in the video itself.
@hunsendrake2535
@hunsendrake2535 Жыл бұрын
how about if i want to display the data in the database inside the fragment with recyclerview?
@skanerkodowkreskowychqr3794
@skanerkodowkreskowychqr3794 Жыл бұрын
Perfect job
@Manjuu27
@Manjuu27 2 жыл бұрын
then how you get the value to pass it to other activity? like when i want to pass the value with put extra to my edit activity
@chimkens
@chimkens 11 сағат бұрын
I get an error "cannot cast cardview into recyclerview". Why is that?
@brigadir5830
@brigadir5830 2 жыл бұрын
Привет из России спасибо вам за отличные уроки ❤❤❤. Всего вам хорошего❤❤❤
@patriciarodrigues598
@patriciarodrigues598 4 жыл бұрын
Thanks from Brazil
@phiqahzulyhah2927
@phiqahzulyhah2927 4 жыл бұрын
Hi, I had follow all the steps but after installing the apps to my phone the apps open and closed after a few sec. can anyone help?
@HausCoding
@HausCoding 4 жыл бұрын
MyDatabaseHelper.java > Cursor readAllData() // enter db.rawQuery (query, null); into the cursor variable if (db != null) { cursor = db.rawQuery(query, null); }
@abdiyyonis9746
@abdiyyonis9746 3 жыл бұрын
Thank you too, best tuto on android app
@tanaykulkarni3275
@tanaykulkarni3275 4 жыл бұрын
Sir i am getting problem in showing data sir it is a glitch of something else please tell me.
@fatihdonmez4823
@fatihdonmez4823 Жыл бұрын
I press the save button and I back to Home. The recycler view is not up to date.
@ΓεώργιοςΚουβάτας-γ7χ
@ΓεώργιοςΚουβάτας-γ7χ 4 жыл бұрын
@Stevdza-San. I love your tutorial very much. i want to ask you how could i have on this book app a search functionality on the recyclerview? i would be grateful if you can help me with this.
@vibhathakur5751
@vibhathakur5751 4 жыл бұрын
how to add that back button in second activity.so that. After adding some more books we can see now how many books are there in the list
@xwznmvd
@xwznmvd 10 ай бұрын
the application does not start and a picture pops up: the application keeps stopping. I have no errors in my code
@anshuldeodia8846
@anshuldeodia8846 4 жыл бұрын
Why it stops every time I open it? I have followed all the steps correctly
@anilrai1299
@anilrai1299 4 жыл бұрын
In my case I forgot to reference the recyclerView in MainActivity.java inside onCreate method
@jeffreyelloreg2882
@jeffreyelloreg2882 4 жыл бұрын
whenever i open the app it crashes and i follow every step in your video and i also triple check everything if there's a problem or if i miss something but everything is according to what in the video and i did check the logcat and it's said "[Sync,SyncAdapter] Failed to sync." and "Caused by: com.google.android.gms.auth.UserRecoverableAuthException: BadAuthentication" pls help me
@StevdzaSan
@StevdzaSan 4 жыл бұрын
I haven't used SQLite lib in a while, however I would recommend you to try ROOM library, it's easier to manage and maintain a database.
@jeffreyelloreg2882
@jeffreyelloreg2882 4 жыл бұрын
@@StevdzaSan I'm not really familiar in room library. do you have video tutorial on that?
@StevdzaSan
@StevdzaSan 4 жыл бұрын
@@jeffreyelloreg2882 Now it's the time then. Check my playlists here on KZbin.
@huybui8463
@huybui8463 2 жыл бұрын
if i create back button in layout what should i do to make it show data
@NdivhuhoMarole-bc7bx
@NdivhuhoMarole-bc7bx 4 жыл бұрын
Amazing stuff....
@NguyenSon-f4q
@NguyenSon-f4q Жыл бұрын
Thank you!
@zerodigits2413
@zerodigits2413 Жыл бұрын
Help after I add book the recyclet view wong update and add the book that I have added. But In DB it got updated.
@antoniofuller2331
@antoniofuller2331 11 ай бұрын
Same here
@Lolserpres
@Lolserpres 2 жыл бұрын
i didnt miss anything but sadly the data in recyclerview doesnt show up :(
@RedJohnCS
@RedJohnCS Жыл бұрын
You probably missed 9:45
@chriscasella2903
@chriscasella2903 5 жыл бұрын
Great videos, thank you!
@Pecana80
@Pecana80 2 жыл бұрын
The only issue is you are loading data on the main thread and if you have a lot of data to load the app will hang and probably cause ANR
@SmartProgrammer
@SmartProgrammer 4 жыл бұрын
hii when i press add books button my activity crashed ....
@namanagarwal3831
@namanagarwal3831 4 жыл бұрын
Tutorials awesome but one thing is going wrong when I rotate phone from portate to landscape recycling view not showing any data how to fix it portate mode working fine 🙄
@ahmedragab4512
@ahmedragab4512 5 жыл бұрын
Thanks a lot 😍
@boucettahani4531
@boucettahani4531 4 жыл бұрын
whenever i click a book in recyclerV app crashes it shows an error here in logcat activity.startActivityForResult(intent, 1);
@lizaazael5607
@lizaazael5607 3 жыл бұрын
I have the same, problem did you solve it ?
@boucettahani4531
@boucettahani4531 3 жыл бұрын
@@lizaazael5607 No, unfortunately
@lizaazael5607
@lizaazael5607 3 жыл бұрын
@@boucettahani4531 I had the same problem, are you using fragments?
@somethingviral1937
@somethingviral1937 4 жыл бұрын
Why wasn't separate class created and then those item in those class shall be used with getter and setter???is this possible in Sqlite like i do it in firestore...MVC
@Yes-ok5me
@Yes-ok5me 4 жыл бұрын
maybe problem in desginign recycleview make it topmargin to 20dp
@TheGuernica37
@TheGuernica37 Жыл бұрын
The note will save and show straight away after pressing the top back arrow, but not after pressing the bottom back button. Did anyone solve this problem?
@muskanyadav2391
@muskanyadav2391 4 жыл бұрын
Thanks a lot !
@ActressandModels
@ActressandModels 3 жыл бұрын
thanks a lot its work
@miguelangelmunozoscategui4356
@miguelangelmunozoscategui4356 4 жыл бұрын
Hi, I use notifydatasetchanged () in the adapter ?
@miguelangelmunozoscategui4356
@miguelangelmunozoscategui4356 4 жыл бұрын
not updated for mine because I use fragments.....
@Yes-ok5me
@Yes-ok5me 4 жыл бұрын
no need for notify data setchanged in androidmanifiest when you added taht back button touch it it will show you the row immeddiatly
@RahulSingh-jc8gv
@RahulSingh-jc8gv 6 ай бұрын
​@@Yes-ok5mebut bottom navigation back button click data not show. Please help me
@dominikkajba8766
@dominikkajba8766 3 жыл бұрын
Do you know why I cant find method readAllData() ?
@ZeeshanBacha-p8q
@ZeeshanBacha-p8q Жыл бұрын
i want search some data by id and set the results in textviews, can someone please proved me code.
@maxts8928
@maxts8928 4 жыл бұрын
Спасибо, все очень доступно объяснено
@mithunmiah2831
@mithunmiah2831 5 жыл бұрын
how to update sqlite database for android app. Like add new table raw and columns
@shizanahamadali3748
@shizanahamadali3748 Жыл бұрын
thank you
@varthanaravinthiran7745
@varthanaravinthiran7745 4 жыл бұрын
Can u do search filter for this recycler view
@LordSaint-u3v
@LordSaint-u3v 3 жыл бұрын
+, this is very good question
@lizaazael5607
@lizaazael5607 3 жыл бұрын
i would like to display my data in the recyclerView inside a fragment, my app crashes, does anybody know what to do please?
@patiarch38
@patiarch38 4 жыл бұрын
You're an absolute legend
@yukselcanozdemir3730
@yukselcanozdemir3730 4 жыл бұрын
Thank you bro thank you brooooo
@carlosandre2111
@carlosandre2111 4 жыл бұрын
When I add a book it only appears when I restart the application. Anybody know how to solve that?
@XeMiZo
@XeMiZo 4 жыл бұрын
Same thing here, did you find any solution?
@carlosandre2111
@carlosandre2111 4 жыл бұрын
@@XeMiZo use startActivityForResult()
@RahulSingh-jc8gv
@RahulSingh-jc8gv 6 ай бұрын
​@@carlosandre2111please explain
@nainshykh8415
@nainshykh8415 4 жыл бұрын
i can't find my_row id in inflater.. please help from where did this id come?
@StevdzaSan
@StevdzaSan 4 жыл бұрын
Rebuild your project
@abhijeetjadhav7027
@abhijeetjadhav7027 2 жыл бұрын
TILL THIS TUTORIAL I've implemented this same way but after adding data it is not updting on list automatically. When I closed app and the. Reopen then data updating. SO SUGGEST ME THE SOLUTION
@akash-7711
@akash-7711 Жыл бұрын
Same problem bro Do you have any solution now
@akarthickdinesh3426
@akarthickdinesh3426 4 жыл бұрын
Speed is over. But i like it
@flaviobarros8305
@flaviobarros8305 4 жыл бұрын
Hey man great tutorial...can you implement pagination on this ?
@dhakshnamoorthy8673
@dhakshnamoorthy8673 4 жыл бұрын
I'm creating a chat app and I have to store all the chat messages and I follow the same procedure of urs it is adding in db but it is not displaying all the chat messages that is being stored so I don't know what to do can u pls help me by giving ur email Id so I can give my program
@ashishgautam2842
@ashishgautam2842 4 жыл бұрын
hey! i facing problem, its shows NO adapter attached ; Skipping Layout
@ashishgautam2842
@ashishgautam2842 4 жыл бұрын
please help me out
@Yes-ok5me
@Yes-ok5me 4 жыл бұрын
@@ashishgautam2842 what do you mean explain more
@ashishgautam2842
@ashishgautam2842 4 жыл бұрын
i sort it out sir,thanks for here, i will tell u, when i m in problem
@Badr-zs9vc
@Badr-zs9vc 4 жыл бұрын
bruh do you have course or playlist for a beginner without knowledge of java language ?
@StevdzaSan
@StevdzaSan 4 жыл бұрын
I will make a full course somewhere in the future. I will need time to plan, organize, create and so on..
@Badr-zs9vc
@Badr-zs9vc 4 жыл бұрын
@@StevdzaSan Oh I see, thank you anyway, you're really doing great work.
@yassinelegougui4044
@yassinelegougui4044 4 жыл бұрын
thanks men
@agusmuliana
@agusmuliana 2 жыл бұрын
Hello... I Love your video so much. i would like to ask. If we have 100 record, and we want to display limit every 10 data. how to show next record in recycler view . thanks
@AbdulWahab-bm4gt
@AbdulWahab-bm4gt 2 жыл бұрын
I LOVE U
@pankajwandre5961
@pankajwandre5961 4 жыл бұрын
Thanks.. You cleared my all problems..
@azizprasetyo2523
@azizprasetyo2523 3 жыл бұрын
this is kotlin or java ?
@ArindamTosh
@ArindamTosh 4 жыл бұрын
Awesome tutorial. I can't figure out the row _id which is passed you mentioned it will be pass dynamically,in update activity but it doesn't ?
@denizaygun4909
@denizaygun4909 3 жыл бұрын
I wish you created a model for book. It would be more understandable.
@hldev9437
@hldev9437 3 жыл бұрын
MERCI
@hyno
@hyno 2 жыл бұрын
4:51
@dyari009
@dyari009 4 жыл бұрын
thanks bro , but i need tutorial for " when i click recycler view item ' pass sqlite data to second activity ' " plz help me.
@frankfernandes718
@frankfernandes718 4 жыл бұрын
holder.owner_name.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Toast.makeText(v.getContext(), "name:"+model.getOname(), Toast.LENGTH_SHORT).show(); } }); put this on onbindview
@HyperActive94
@HyperActive94 4 жыл бұрын
thnx again
@abdou9383
@abdou9383 4 жыл бұрын
10:34
@MrManu2468
@MrManu2468 4 жыл бұрын
You are WAY too fast for this complex of a topic. Calm down a little, besides that the tutorial is good.
@damonkopsidas
@damonkopsidas 4 жыл бұрын
I'm trying to integrate this into my app, I am getting an error saying my Cursor object is null. One thing to note is that my Recycler View is in a main page fragment which is opening through the main activity. Any ideas?
@StevdzaSan
@StevdzaSan 4 жыл бұрын
Switch to ROOM
@lizaazael5607
@lizaazael5607 3 жыл бұрын
@@StevdzaSan what is room ?i have the same isuue
@StevdzaSan
@StevdzaSan 3 жыл бұрын
@@lizaazael5607 ROOM library for managing local database. Check the playlist on my channel.
@БаянАхмет-л1ю
@БаянАхмет-л1ю 5 жыл бұрын
the database is not saved on other devices
@Evaldas65
@Evaldas65 3 жыл бұрын
SLOW DOWN! I can barely follow, haha.
@vladd9080
@vladd9080 3 жыл бұрын
PLEASE IN YOUR NEXT TUTORIALS TRY TO DO THINGS SLOWER :)
@ijutsu2438
@ijutsu2438 3 жыл бұрын
for somebody who just wanna learn SQLite but don't know any of the other overly complex shit(in here), this is not the right video for you.
@JustShir0
@JustShir0 4 жыл бұрын
You speak and move around way too fast and barely explain what you're doing.
@Loko4Games
@Loko4Games 2 жыл бұрын
After the last line of code, recyclerView.setLayoutManager(new LinearLayoutManager(MainActivity.this));, when I run my app it crashes, anybody know what it can be?
@waddupshairie
@waddupshairie 3 жыл бұрын
Hello sir may I know why my app crash after Im trying to display the data
@kd5441
@kd5441 3 жыл бұрын
Thanks a lot 🥳
@ahmedfaarih778
@ahmedfaarih778 4 жыл бұрын
Thaanks man.
SQLite + Android - Update Table Data (Book Library App) | Part 4
13:49
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
API vs SDK: What’s the Difference?
3:42
Klippa
Рет қаралды 17 М.
RecyclerView | Everything You Need to Know
25:07
Practical Coding
Рет қаралды 150 М.
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 86 М.
SQLite Database for Android - Full Course
1:28:22
freeCodeCamp.org
Рет қаралды 257 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН