Recyclerview + Cardview with GridLayout | Android studio tutorial

  Рет қаралды 218,128

Aws Rh

Aws Rh

Күн бұрын

Пікірлер: 273
@siddharthachatterjee9808
@siddharthachatterjee9808 6 жыл бұрын
I didn't know a thing about ANDROID design.Thanks to you I know more than any of the people in my class.You're a legend.
@AwsRh
@AwsRh 6 жыл бұрын
thank you so much just practice and you will be OK
@yiyatsen
@yiyatsen 6 жыл бұрын
I like your tutorial. Fast, clean and no annoying voice.
@samr1732
@samr1732 6 жыл бұрын
This channel is simply awesome. I love your videos man! Thank you so much for making these!!
@AwsRh
@AwsRh 6 жыл бұрын
thx Mango :*
@prateeksinghal630
@prateeksinghal630 4 жыл бұрын
@@AwsRh Can you please tell me if the github repo is the android project imported directly from android studio or else if you have made the folders by yourself, cause I am making this app and tried to do code as you instructed but seems to be some error in it so I wanted to know if I can clone the repo and run it directly??
@shubhamshinde4042
@shubhamshinde4042 5 жыл бұрын
Thank you very much for this video. I am at last semester of my master's degree and currently working as a intern in private company and i am working on commercial android app & this video helped me alot. Subscribed to your channel keep doing this amazing work. 👍 Thanks again 👏👏
@Yourself731
@Yourself731 3 жыл бұрын
I'm from Brazil, thank you about the video. Helped me a lot, same after 3 years.
@maksonic_official
@maksonic_official 5 жыл бұрын
i'm from Russia, thanks you for this tutorial! Amazing!
@Alihaider-rs8is
@Alihaider-rs8is 4 жыл бұрын
It was Stunning Method in which you Described
@phucthaifg
@phucthaifg 6 жыл бұрын
Thank you for the video! It's clear and easy to follow.
@DevelopersWork
@DevelopersWork 4 жыл бұрын
Great video... Took me 3 days to find this video on the KZbin... Better add title 'this is using java' cause when we search only thing I see is XML videos in the search result
@barbaros_burak
@barbaros_burak 6 жыл бұрын
Thank you so much man. Really appreciate the video. Always had problems with implementing recycler view but this helped me alot.
@ayansarkar2357
@ayansarkar2357 3 жыл бұрын
I have no words just I can say thank you.
@YasserSedrati
@YasserSedrati 6 жыл бұрын
but the *Gridlayout isn't in the middle of the screen view* .. How can I fix it ? and thanks for your great tuto.
@sublajz8432
@sublajz8432 5 жыл бұрын
I have the same problem. Have you figured out how to solve it?
@roei7111999
@roei7111999 5 жыл бұрын
About 1:34 For a newer version of android studio, you should write: implementation 'com.android.support:cardview-v7:28.0.0' implementation 'com.android.support:recyclerview-v7:28.0.0' on build.gradle it should look like this: dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'androidx.appcompat:appcompat:1.0.2' implementation 'androidx.constraintlayout:constraintlayout:1.1.3' implementation 'com.android.support:cardview-v7:28.0.0' //Card View implementation 'com.android.support:recyclerview-v7:28.0.0' //Recycler View testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test:runner:1.1.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1' } Pay Attention! This is true only to this date, 04.25.2019 You might need to check here for a newer version: developer.android.com/reference/android/support/v7/widget/CardView (I'll try to find more stuff like this and share here)
@roei7111999
@roei7111999 5 жыл бұрын
2:00 Also: Instead of writing android.support.widget.RecyclerView you should write: androidx.recyclerview.widget.RecyclerView Pay attention to androidX!!
@lyfe8757
@lyfe8757 6 жыл бұрын
You're remarkable, and your work is amazing!!! Wow thanks so much for this. How complex is it to add a drawer(side panel) to this approach? Any changes to be applied?
@ahmedmohammed9462
@ahmedmohammed9462 6 жыл бұрын
if i want to distribute the space between the three elements in each row evenly how can i do that? i try to set android_width="0dp" and android:layout_weight="1" in cardview_item_book.xml but it doesn't work
@rosegoldtelefilms2359
@rosegoldtelefilms2359 4 жыл бұрын
Mind Blowing Can you make a video on same topic but different functionality After making the home screen book layout then when i click on any book then open a new activity where all the chapters are listed in linear layout . when I click on any chapter then start download pdf file from server with progress bar in internal storage and open in new activty. Downloaded pdf file shouldnot show in other app. this should be only content of this app. After uninstalling this app all downloaded pdf are also deleted.
@devArthur-cr9nl
@devArthur-cr9nl 6 жыл бұрын
Dude, nice work and thank you very much for the effort. Im just beggining a new project in this code will come in handy...
@oscarmartinez1099
@oscarmartinez1099 6 жыл бұрын
Muchas gracias por tus buenos tutoriales. Saludos desde Nicaragua.
@AwsRh
@AwsRh 6 жыл бұрын
thank you so much
@ahmedmohamed1340
@ahmedmohamed1340 4 жыл бұрын
thanks man this is awesome.
@ahmed-xvl
@ahmed-xvl 5 жыл бұрын
Awesome man, I like what you did here! Thanks for sharing it with us, Just awesome!
@ortizbryan1
@ortizbryan1 6 жыл бұрын
Genial, no encuentro más palabras para describirlo
@yasirvlogs5342
@yasirvlogs5342 4 жыл бұрын
nice and easy to implement video thanks bro keep it up
@maheshdhote9607
@maheshdhote9607 6 жыл бұрын
Thanks bro it helped me lot in my project.Keep it up u r doing great job.
@askaryben5683
@askaryben5683 6 жыл бұрын
Good Luck from Morocco and thank you very much 💙
@AwsRh
@AwsRh 6 жыл бұрын
thanks brother
@Simo-qt2jx
@Simo-qt2jx 4 жыл бұрын
@@AwsRh me too from Morocco bro how to change description of everyone???
@alexsamaniego9164
@alexsamaniego9164 6 жыл бұрын
Great Tutorial - how would you make this particular recycler view horizontal?
@toph1048
@toph1048 4 жыл бұрын
Thank you for making this video
@player-kw2tv
@player-kw2tv 6 жыл бұрын
Thanks. in the meantime we can open up other activities with two different intentions?
@clickupdates7416
@clickupdates7416 6 жыл бұрын
Above code works nicely.I have a problem.I want to separate activities for separate books.It means when click one book it should open with it's pdf book viewer....How to do that...? please explain...or give me the code...Thank you
@lucasverrier9699
@lucasverrier9699 4 жыл бұрын
So good to follow the flow
@AminA-2051
@AminA-2051 6 жыл бұрын
Nice Tutorial. I have one question though: How can you center the adapter so that the items in the gridLayoutManager/recyclerView are all positioned correctly?
@CayqueDuarte
@CayqueDuarte 6 жыл бұрын
Is it possible to insert new cards from a button? What would I add in the code to add, leaving the permanent cards in the application? Thank you
@howto1944
@howto1944 5 жыл бұрын
Thank you for the awesome video, but sir, how can I add a description in the book list Activity.
@salomondenis9751
@salomondenis9751 4 жыл бұрын
I liked your method. Thank you for share.
@akshaychavan5511
@akshaychavan5511 4 жыл бұрын
Thank you for such an impressive tutorial :)
@howto1944
@howto1944 5 жыл бұрын
Thank you for the video! I have a question. How can I put string data in the description?
@ayushianderiya396
@ayushianderiya396 2 жыл бұрын
Can you please tell me how can i be able to use just two consecutive cardview instead of three becoz the third one is just showing half cardview...
@cansuyeksanaktas
@cansuyeksanaktas 6 жыл бұрын
Great tutorial! Thanks for sharing.
@AwsRh
@AwsRh 6 жыл бұрын
thanks :)
@sergiho96s37
@sergiho96s37 3 жыл бұрын
great job,thank you!
@solange0ska
@solange0ska 4 жыл бұрын
HELLO! HOW CAN EDIT THE "DESCRIPTION" TO PUT THE INFORMATION OF EACH ELEMENT, PLEASE.
@sergeygrishin902
@sergeygrishin902 6 жыл бұрын
hello, thx for your tutorial :) I've a question: I've made the same recycler with several columns and, when I scroll to bottom, I've add new items to recycler. All works great, but I wanna to add progressbar. I've wanna to show it, when user scroll to bottom, same as in google play store (when u scroll recycler, and progress appear under the recycler). Maybe u have some example-sources or tutorial with same feature?) It'll be great)) thx u in advance
@andriyshatynskyy5214
@andriyshatynskyy5214 3 жыл бұрын
Hello, it's working... but I need to use this code in fragment? how I can use it? Thank
@h3w45
@h3w45 4 жыл бұрын
awesome design, thank you.
@arshiyasayyed9732
@arshiyasayyed9732 6 жыл бұрын
Thanks a lot sir very good video ... god bless u❤️
@AwsRh
@AwsRh 6 жыл бұрын
your welcome my brother
@arshiyasayyed9732
@arshiyasayyed9732 6 жыл бұрын
Plzz make a video on how to save share set wallpaper of a image
@ojogaming
@ojogaming 6 жыл бұрын
many many Thanks, very Good job!
@santoshdeshmukh9814
@santoshdeshmukh9814 4 жыл бұрын
Really Great Tutorial...!!!Thanks Bro...
@JuanFcoRomero
@JuanFcoRomero 5 жыл бұрын
Super tutorial! Thanks!!
@syednayyar
@syednayyar 4 жыл бұрын
amazing ... i tried this on android 10 worked great but when i tried on android 5.1 ( Xperia z ultra ) device it was laggy and very very and un responsive any lead ?
@ahsansyed4146
@ahsansyed4146 6 жыл бұрын
very good tutorial, kindly do this with firebase, how to upload and retrieve data from firebase in GridView ASAP :)
@kajcsa
@kajcsa 6 жыл бұрын
May I ask you why do you capitalize the variables?
@tusharrupani4460
@tusharrupani4460 4 жыл бұрын
Awesome Loved it!!!
@shrirampund1802
@shrirampund1802 6 жыл бұрын
Sir I am try work on this app install successfully but images are not visible on our activity. What is the solution on this please tell me. i am beginner thats why i dont have full knowledge on this. Send me reply early. After installation in logcat give the message like this: Android 4.1, method int android.support.v7.widget.ListViewCompat.lookForSelectablePosition(int, boolean) would have incorrect
@MilanShresthaa
@MilanShresthaa 4 жыл бұрын
it showed Unsupported Modules Detected: Compilation is not supported for following modules: Recyclerview2, app. Unfortunately you can't have non-Gradle Java modules and Android-Gradle modules in one project.
@mirsaheb4131
@mirsaheb4131 4 жыл бұрын
Awesome, Please told that, how to add html or pdf file for full story?
@JulianDik
@JulianDik 6 жыл бұрын
Very nice!!!! Thats exactly what I needed :)
@manpang1235
@manpang1235 4 жыл бұрын
Hi, do you know how to put this to a tabbed activity. For example, put this layout on tab2.
@aboalwajeeh9471
@aboalwajeeh9471 6 жыл бұрын
Thank you man ... you are the best شكرا
@AwsRh
@AwsRh 6 жыл бұрын
thanks so much for your support
@derekmcgilvray91
@derekmcgilvray91 6 жыл бұрын
nice simple design, thank you - how would I be able to zoom in on the book?
@koeniedoenie
@koeniedoenie 5 жыл бұрын
Hey @Aws Rh, how can I remove the borders of all the items in the recyclerview? Thank you.
@willz17-DRX
@willz17-DRX 3 жыл бұрын
Really good video, Hope you still going!
@fishworld1998
@fishworld1998 4 жыл бұрын
how do you make 3 parts like the picture on your video right and left so that the book cover has 3 parts how to add to fragments?
@toppersstudytips6237
@toppersstudytips6237 6 жыл бұрын
Hello sir full mind blowing... But how can i implement Intent to share Data of Thumbnail and Title on btn click plz i tried it but failed....
@Jairo3695
@Jairo3695 6 жыл бұрын
Love your content :D thanks for it m8 you help me alot
@money_shower_lion
@money_shower_lion 6 жыл бұрын
I always watch your video well. By the way do you know how to use CardView to move pages? I've been struggling with this problem for a week. Please help me. TT
@ramchandrathapa3532
@ramchandrathapa3532 6 жыл бұрын
wow awesome dude... thank you so much
@bakytkhamraev6844
@bakytkhamraev6844 4 жыл бұрын
thank you very much for the video
@justanintrovert
@justanintrovert 2 жыл бұрын
Hey, i did everything as per the video but the intent in adapter is not working
@erikansori
@erikansori 3 жыл бұрын
i am from indonesia, this is very great content, make me can understand how it works. THANKS
@bannanaseller1957
@bannanaseller1957 6 жыл бұрын
please bro, how can we make Intent from RecyclerView to another RecyclerView ?
@harshvikadia78
@harshvikadia78 2 жыл бұрын
Add Button on pages. when click on button that book will be open how to make ??? please make a video on that too...
@iLLeo20899
@iLLeo20899 4 жыл бұрын
can you explain why i get this error with your code that setOnclick of cardview on a null Object ?
@ej4555
@ej4555 6 жыл бұрын
Bro, your source code doesn't show the same type of view in the menu.
@AwsRh
@AwsRh 6 жыл бұрын
what was the difference
@jk-zl4jl
@jk-zl4jl 6 жыл бұрын
Thanks bro.. It helped a lot..
@GriNAME
@GriNAME 6 жыл бұрын
Thanks! PS: why are you still using AS version 2.x ?
@AwsRh
@AwsRh 6 жыл бұрын
actually there s no reason for that im just lazy to click the update button xD is there any good features in the latest version ?
@WingN
@WingN 6 жыл бұрын
@aws Rh I'm not seeing anything really amazing in the new updates, but it's breaking a lot of old code with changes like "compile" > "implementation".
@abiodunoyetomi2126
@abiodunoyetomi2126 6 жыл бұрын
Please what languages do you create these apps in, i want to learn, your works are beautiful 👌
@AwsRh
@AwsRh 6 жыл бұрын
Java
@teamchang4894
@teamchang4894 5 жыл бұрын
You can learn on udemy. Its cheap
@fatihbaycu1367
@fatihbaycu1367 4 жыл бұрын
Hello first, thanks for the video. My question is: I have 10 activities each and I want to make separate events for all of them. But one adapter is working for all activity. how can i add 10 more adapters
@alphatradersoldfurniturebu8161
@alphatradersoldfurniturebu8161 4 жыл бұрын
you can put a switch case in onclick
@eugeneyee8296
@eugeneyee8296 4 жыл бұрын
why the image and the name in the cardview all will stick to together when displaying?
@ahmedyacinetalbi968
@ahmedyacinetalbi968 5 жыл бұрын
amazing tutorial thnk u so much
@ramyelbouhy1861
@ramyelbouhy1861 5 жыл бұрын
Great!!! Dear , thanks so much , keep it up
@nievadov7027
@nievadov7027 6 жыл бұрын
Nice One can we get data from json file??
@bestthrickssoharb9314
@bestthrickssoharb9314 6 жыл бұрын
you are the best man
@usamvadentrepreneursdialog8605
@usamvadentrepreneursdialog8605 6 жыл бұрын
Let me take this opportunity to thank you for all the valuable tutorials. I am your G+ and KZbin follower and fan. Learned a lot from your tutorials. I am reaching out for help as I am exhausted from watching Video to Video and Group to Group for help. Whenever I am embedding the codes, it is continually crashing. In the Recyclerview + Cardview with GridLayout.I am trying to embed Admob Native Ads on Home Page, and interstitial ads when someone clicks on the book cover, and when the ad is closed he can see the detailed description. In the detailed description want to embed native ads two to three times. Sincerely request you to kindly buy some time from your busy schedule and bail me out of this frustrating situation.
@bonnywaithaka501
@bonnywaithaka501 6 жыл бұрын
using the same tutorial, how can it retrieve data from firebase i.e the image, book title, category and the description when user inserts the data
@Sport-word
@Sport-word 6 жыл бұрын
hello the best teacheer please kindly make toturial how to pick image and open camera in android studio
@HTSM.24
@HTSM.24 6 жыл бұрын
YOU Are Great Creator #AWS_RH Keep it up..
@furkan8211
@furkan8211 5 жыл бұрын
Thank you for the video! I have a question. How can I put the Json data instead of the description?
@AwsRh
@AwsRh 5 жыл бұрын
check this video it might help : kzbin.info/www/bejne/hqmcfJSkepKins0
@chenjuncj518
@chenjuncj518 6 жыл бұрын
Bro, may i know how you add your the description for the book?
@amnakhalid6932
@amnakhalid6932 6 жыл бұрын
error at ( holder.img_book_thumbnail.setImageResource(mData.get(position).getThumbnail());) i tried my best but error is not removing, not able to understand plz help :-(
@Surrealslay3rr
@Surrealslay3rr 4 жыл бұрын
Hey I wanted this to work with bottom navigation what should i do??
@kushal-vb8ij
@kushal-vb8ij 6 жыл бұрын
love this channel
@AwsRh
@AwsRh 6 жыл бұрын
love you too :D thanks
@amanswarnkar7625
@amanswarnkar7625 6 жыл бұрын
I didn't get margin between two consecutive cardview. What image size you're using in drawable folder?
@AwsRh
@AwsRh 6 жыл бұрын
try to reduce you cardview width
@AbdulSamad-wn3jx
@AbdulSamad-wn3jx 6 жыл бұрын
card width is match parent how can i reduce it?
@야씬
@야씬 6 жыл бұрын
I had the same problem and this worked, thanks!
@AbdulSamad-wn3jx
@AbdulSamad-wn3jx 6 жыл бұрын
But it is not responsive for other devicea
@야씬
@야씬 6 жыл бұрын
Yea I realized this afterwards, I'm trying to look for a solution.
@ahsansyed4146
@ahsansyed4146 6 жыл бұрын
why the Thambnail() datatype is #int ?? kindly explain ? and kindly make video on addToCard
@omarfer9478
@omarfer9478 6 жыл бұрын
Amazing broo.. regards from Perú. Pls ..can you teach us how to do this but with firebase connection? (getting images from firebase as example)
@folkeboyz
@folkeboyz 4 жыл бұрын
I want to open activity_book to popup !! What should I do?
@shaikhaaves6645
@shaikhaaves6645 6 жыл бұрын
Awesome Bro!!!!!
@pashayad619
@pashayad619 4 жыл бұрын
Thaaaaank yoooou so much 😘😘♥️ you cooool.
@manhhungnguyen7692
@manhhungnguyen7692 5 жыл бұрын
Nice video bro. Thanks for sharing :)
@salereepemarketingpvtltd6516
@salereepemarketingpvtltd6516 5 жыл бұрын
Hello sir when i create same as your given tutorial then an error accured in my virtual device : Application keeps stopping pls help then what i do
@Suraj-tz3oq
@Suraj-tz3oq 5 жыл бұрын
Use latest version of recyclerview,cardview, nestedscrollview in your dependencies,xml,java files
@yolfrankabreu3290
@yolfrankabreu3290 6 жыл бұрын
Hi great video, How i can enable multiselec option with cardview and recyclerview?
@hichem1027
@hichem1027 5 жыл бұрын
Genius ! thnx a lot Bro
@dasisridarshan106
@dasisridarshan106 6 жыл бұрын
Bro, How to save scroll position of RecyclerView state between activities and restore it
Card List UI Design | Android Studio Tutorial
33:06
Aws Rh
Рет қаралды 65 М.
UFC 308 : Уиттакер VS Чимаев
01:54
Setanta Sports UFC
Рет қаралды 919 М.
Миллионер | 2 - серия
16:04
Million Show
Рет қаралды 1,9 МЛН
RecyclerView Android Example with custom adapter, list sorting and glide
1:44:28
Programming w/ Professor Sluiter
Рет қаралды 41 М.
Beginner's Guide to the Bash Terminal
1:14:37
Joe Collins (EzeeLinux)
Рет қаралды 2,3 МЛН
Android Studio : Click Cardview to Open New Activity
27:23
RecyclerView
22:26
CodingWithMitch
Рет қаралды 307 М.
UFC 308 : Уиттакер VS Чимаев
01:54
Setanta Sports UFC
Рет қаралды 919 М.