Expandable Recycler View | Android

  Рет қаралды 45,020

Mafia Codes

Mafia Codes

4 жыл бұрын

In this video you will learn how to setup an #Expandable #RecyclerView with a list of marvel movies.
🚀Deploy NodeJs app: zeet.co/r/yourstruly
(One FREE project forever 😘)
In 60 seconds • How to Deploy a NodeJs...
FREE $100 credit @Digital Ocean: m.do.co/c/3208f08b3324
Patreon: / trulymittal
Subscribe: kzfaq.info...
⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I've been using Kite for 6 months and I love it! www.kite.com/get-kite/?...
Basic #RecyclerView: • Recycler View with com...
Github(Tutorial): github.com/trulymittal/Expand...
RecyclerView: developer.android.com/guide/t...
RecyclerView(dependency): developer.android.com/guide/t...
---------------
Videos on Recycler View:
---------------
#RecyclerView: • Recycler View with com...
Pull to Refresh in RecyclerView: • Pull to Refresh in Rec...
On item click using Interface in RecyclerView: • RecyclerView item Clic...
Swipe gestures in Recycler View: • Swipe gestures in Recy...
Drag and drop Reorder in Recycler View: • Drag and drop Reorder ...
Filter using SearchView in RecyclerView: • Filter RecyclerView us...
MultiView RecyclerView: • Multi view RecyclerVie...
---------------
More useful videos
---------------
#ViewModel: • View Model | Live Data...
#Retrofit: • RETROFIT Tutorial (v 2...
#WorkManager: • Work Manager | Android...
#KeyframeAnimations: • Keyframe Animations wi...
#CollapsingToolbar Layout: • Collapsing Toolbar Lay...
#BottomNavigation View: • Bottom Navigation View...
#NavigationComponent: • Navigation Component |...
#NightMode: • Night Mode | Dark Mode...
#ButterKnife: • Butter Knife | Field a...
SplashScreen: • Splash screen | Launch...
Singletons: • Singletons | What When...
---------------
What I use
---------------
Mouse: amzn.to/2O9RJtu
Keyboard: amzn.to/2qxajCU
Keyboard 2: amzn.to/2XDWH4X
Monitor: amzn.to/2pDg7dH
Processor: amzn.to/347WWIb
RAM: amzn.to/2QEkUqw
Graphics: amzn.to/33aBrF4
Microphone: amzn.to/2DabdI9
#yoursTruly #tutorial #how-to #android

Пікірлер: 146
@androidcell7093
@androidcell7093 4 жыл бұрын
Very well explained. I was waiting for this video
@Luis-xe9og
@Luis-xe9og 4 жыл бұрын
Pretty straightforward. Well explained and directly to the point!
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share
@ravimishra8632
@ravimishra8632 4 жыл бұрын
They way you explained is very simple and clear. Video is helpful. keep uploading such content!..
@bartlomiejdrozd2357
@bartlomiejdrozd2357 3 жыл бұрын
Man I was struggling with double alert dialog and then came up with the idea of expandable layout. The way you shown it was absolutely beautiful. Thank you so much sir!
@mafiacodes
@mafiacodes 3 жыл бұрын
Great idea 💡
@aakashgupta4477
@aakashgupta4477 4 жыл бұрын
I liked your vedios alot I found almost everything I was searching for on your channel. Great work sir, keep going
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share😊
@euroglobalservices
@euroglobalservices 3 жыл бұрын
Great video, good explaination, straightforward. Thank you so much
@Sydewinder890
@Sydewinder890 2 жыл бұрын
Thank you! Works like a charm
@MattandShivs
@MattandShivs 4 жыл бұрын
So simple it makes me want to cry. Great job!!!
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share
@Lion-bi8fy
@Lion-bi8fy 3 жыл бұрын
Nice tutorial! Thanks :)
@yanshulnarotra4934
@yanshulnarotra4934 3 жыл бұрын
Thank you so much bro
@sateeshchikkalagi904
@sateeshchikkalagi904 4 жыл бұрын
Nice explanation with zoom i searched lot for this video finally I got it Thanks
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share
@josephmota358
@josephmota358 4 жыл бұрын
Thanks. Worked fine
@rafiulansari
@rafiulansari 4 жыл бұрын
Great video and very easy to follow. Thanks!
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share
@justanotherdaydream
@justanotherdaydream 4 жыл бұрын
Thanks for the tutorial!
@mafiacodes
@mafiacodes 4 жыл бұрын
subscribe like share
3 жыл бұрын
Nice video , thank you :)
@MultiPAVEL86
@MultiPAVEL86 3 жыл бұрын
Worked wonders for me. Thank you.
@mafiacodes
@mafiacodes 3 жыл бұрын
Great to hear!
@hamid-karimi
@hamid-karimi 3 жыл бұрын
this is great , thank you
@forester1
@forester1 2 жыл бұрын
Really good channel ☺️👍
@UniformDelta00
@UniformDelta00 4 жыл бұрын
thanks for your creativity !
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share ☺️
@learnwithzo3531
@learnwithzo3531 2 жыл бұрын
Thanx a lot bro
@MartinDev77
@MartinDev77 4 жыл бұрын
Thanks for sharing, very easy to follow the tutorial. I greet you from Argentina.
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share😊
@prathiv5203
@prathiv5203 4 жыл бұрын
bro , really goooooooooood video ,the way u explaining is next level......,plz upload lots of video about android studio *we will support you*
@mafiacodes
@mafiacodes 4 жыл бұрын
Thanks 😊 subscribe like share
@louis18071957
@louis18071957 4 жыл бұрын
you are the best I learn android with you THANKS !!!!!!
@mafiacodes
@mafiacodes 4 жыл бұрын
Thanks, Subscribe like share...
@sayyedaamer9243
@sayyedaamer9243 4 жыл бұрын
Thanks for your help. I have a prblm which i commented in you video and you give me reply for that and that was very helpful to me thank you very much. Can you plz make videos on content providers (in depth) there are lots of video on that topic but they are using the same example of reading contact only and finished it. Its my request to make the video on that bcz you will make it very easy for us.
@abhilashgurudeva386
@abhilashgurudeva386 2 жыл бұрын
Thanks for this..
@nightmarexcvm
@nightmarexcvm 4 жыл бұрын
Thank you so much. It is better than many libraries in github.
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share 😊
@denialfian2122
@denialfian2122 4 жыл бұрын
Nice tutorial, Keep it up :)
@mafiacodes
@mafiacodes 4 жыл бұрын
Thx subscribe like share ☺️
@ttttrent2668
@ttttrent2668 2 жыл бұрын
Thanks man!
@mafiacodes
@mafiacodes 2 жыл бұрын
Subscribe like share
@nadaak2385
@nadaak2385 4 жыл бұрын
Thanks for sharing.
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share
@iliya2098
@iliya2098 2 жыл бұрын
I tried to follow this as best as I could, but I'm unable to replicate the animation. How did you implement it?
@EddyMP
@EddyMP 4 жыл бұрын
Salvaste mi semestre!!
@mafiacodes
@mafiacodes 4 жыл бұрын
subscribe like share 😊
@harshadbb9996
@harshadbb9996 3 жыл бұрын
Can we add buttons if yes... how to add??
@esegovia
@esegovia 4 жыл бұрын
Thank u so much, bro
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share😊
@ianrosales9284
@ianrosales9284 3 жыл бұрын
The best.
@mohamedayad70
@mohamedayad70 3 жыл бұрын
I don't know how you always make it very easy like that 😂😂 Thank you bro from all of my heart ❤️❤️
@mafiacodes
@mafiacodes 3 жыл бұрын
My pleasure 😊
@mohamedayad70
@mohamedayad70 3 жыл бұрын
@@mafiacodes can you explain why animations don't work for the recyclerview when it's inside nestedscrollview
@mafiacodes
@mafiacodes 3 жыл бұрын
Dont know
@mafiacodes
@mafiacodes 3 жыл бұрын
Don’t know
@md.rejaulkarim9215
@md.rejaulkarim9215 4 жыл бұрын
Excellent tutorial. But how did you make your IDE font colors like this cool?
@mafiacodes
@mafiacodes 4 жыл бұрын
Using google theme 😊
@forjordon
@forjordon 4 жыл бұрын
Thanks for the great video! Can I ask, if my expanded view is 2 buttons, what is a way to create a way to register if the buttons are clicked?
@mafiacodes
@mafiacodes 4 жыл бұрын
yes implement oncliclisteners to those buttons using an interface, to implement an interface watch this video kzfaq.info/get/bejne/d9GZn9eF25anmnU.html
@rahulsharma6703
@rahulsharma6703 4 жыл бұрын
Hello friends please help me recyclerview expandable show grid formate
@rahhi9792
@rahhi9792 4 жыл бұрын
Waiting for this video sir
@mafiacodes
@mafiacodes 4 жыл бұрын
@6:00PM IST
@vikasgangwar3542
@vikasgangwar3542 Жыл бұрын
Hii, Video is very good. But I am facing one problem. Could you please help me with one thing, how to close the one item when we open the other item.
@dipchandyadav6307
@dipchandyadav6307 4 жыл бұрын
Hiii , How we can do Expandable Recycler view Using firebase ui . Because in firebase ui Recycler view, we don't have to mention any List than how we get Movie list ...... You mentioned on your Expandable Recycler view KZfaq video .....
@mkc0321
@mkc0321 3 жыл бұрын
very good video
@Arunkumar-xf1hd
@Arunkumar-xf1hd 2 жыл бұрын
i have created the same but my expandable layout view imidiatly(no animation like slide)
@ShivamKumar-rp8kr
@ShivamKumar-rp8kr 4 жыл бұрын
what is the theme you're using in studio. I loved it. thanks for video
@mafiacodes
@mafiacodes 4 жыл бұрын
It’s google developers theme and the font is operator mono Subscribe like share
@ShivamKumar-rp8kr
@ShivamKumar-rp8kr 4 жыл бұрын
@@mafiacodes I watched the whole video and made a sample app. But my expanding layout is not open smoothly as yours
@mafiacodes
@mafiacodes 4 жыл бұрын
Share code on GitHub
@ItsMrsSharma
@ItsMrsSharma 3 жыл бұрын
Thanks for this simple explanation but can you please tell me that if the exapanding portion is getting data from the another api not from the current listed api then how this will work?
@mafiacodes
@mafiacodes 3 жыл бұрын
then also it would work, since expanded boolean is not related to data that is being currently fetched, u can show a loading indicator while the data is being fetched.
@ItsMrsSharma
@ItsMrsSharma 3 жыл бұрын
@@mafiacodes Thanks i will work on it and surely let you know.
@mafiacodes
@mafiacodes 3 жыл бұрын
Surely
@mohammadmehdikhajehzadeh1655
@mohammadmehdikhajehzadeh1655 3 жыл бұрын
good I like it
@sachetthashrestha539
@sachetthashrestha539 4 жыл бұрын
Great video.Thanks. Is it possible to make a video for sectioned recycler view(for eg. dataset with a list of categories which further have another list of data inside them)? 🤓
@mafiacodes
@mafiacodes 4 жыл бұрын
That exact video is already planned, will be in a week.
@sachetthashrestha539
@sachetthashrestha539 4 жыл бұрын
@@mafiacodes waiting for this,sir :D
@tanmaysinghal8370
@tanmaysinghal8370 2 жыл бұрын
@@mafiacodes did you post that video sir?
@MYTHARENA
@MYTHARENA 3 жыл бұрын
Awesome bro...u just made it a piece of cake. Just one question. Can we set it like this, if we click on one title it expands, now if we click on other title the previous expandable title should close. Thanks a lot.
@mafiacodes
@mafiacodes 3 жыл бұрын
You can do that, just u need to keep a track which item is expanded and then close that when expanding a new one.
@ArupKumarTewary
@ArupKumarTewary 3 жыл бұрын
@@mafiacodes i also have the same question bro. can u plzzz help it in detail with that.... it would be of immense help. Love from Jharkhand
@habbeetayonak2355
@habbeetayonak2355 3 жыл бұрын
Can u explain how adding search or filter items to expandabl RecyclerView please
@mafiacodes
@mafiacodes 3 жыл бұрын
you can use the same logic as in this video: kzfaq.info/get/bejne/ebqmrdKH2bHTemw.html
@babarsiddique8492
@babarsiddique8492 4 жыл бұрын
Great Help! but i have one question when i have clicked the bottom item in recycler view i have to drag it upward to see the details, is there any possibility if i clicked last item the detail layout will automatically dragged up?...Looking for your response Thanks
@mafiacodes
@mafiacodes 4 жыл бұрын
I am not sure but u can try out .smoothScrollToPosition(), if that helps, else I'll see something other which can be done...Subscribe like share 😊
@babarsiddique8492
@babarsiddique8492 4 жыл бұрын
​@@mafiacodes Thanks alot..it works!! ;-)
@slash0t5
@slash0t5 4 жыл бұрын
Very helpful video. Make sure you use boolean or Boolean but not both. :)
@mafiacodes
@mafiacodes 4 жыл бұрын
Yup my bad 🤗
@rameshkrishnan6754
@rameshkrishnan6754 3 жыл бұрын
Hello sir🙏. I have a doubt, in the movie adapter class L33. is showing me an error, how can we call methods without object? Thank you
@mafiacodes
@mafiacodes 3 жыл бұрын
L33 is blank in my repo, please go to my repo and then let me know which line ur talking about
@rameshkrishnan6754
@rameshkrishnan6754 3 жыл бұрын
@@mafiacodes Thanks for responding , actually the array was not initialised😊
@madhavbhavsar3671
@madhavbhavsar3671 4 жыл бұрын
i also want to add image in the expandable layout.....how can i add ?/
@mafiacodes
@mafiacodes 4 жыл бұрын
Add in a image view inur row.
@ninomuring6653
@ninomuring6653 4 жыл бұрын
Is there a way that this could be also applied to FirestoreRecyclerAdapter?
@mafiacodes
@mafiacodes 4 жыл бұрын
You can use the same logic and can apply
@denismugane2765
@denismugane2765 4 жыл бұрын
Hello sir thanks for tutorial. How do I only make one item to expanded that is if i click on item previous item expanded shud be closed automatically
@mafiacodes
@mafiacodes 4 жыл бұрын
U have to use some logic like keeping a track of which item is open and which is not
@denismugane2765
@denismugane2765 4 жыл бұрын
@@mafiacodes how would I go about it. I need to implement
@dipchandyadav6307
@dipchandyadav6307 4 жыл бұрын
Please reply .... Hiii , How we can do Expandable Recycler view Using firebase ui . Because in firebase ui Recycler view, we don't have to mention any List than how we get Movie list ...... You mentioned on your Expandable Recycler view KZfaq video ..... Please make a telegram account Please.... To help us
@MuhammadAhmad-qg1ri
@MuhammadAhmad-qg1ri 3 жыл бұрын
Great
@anb4351
@anb4351 3 жыл бұрын
Its working but the transition in not smooth like in your video it expands and collapse immediately
@mafiacodes
@mafiacodes 3 жыл бұрын
Compare with my code, u might be missing some layout tags
@reddym6849
@reddym6849 4 жыл бұрын
Thanks
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share😊
@mubasharhassan1998
@mubasharhassan1998 4 жыл бұрын
Sir i have recycler with cardview on which I show data which I get through API ,but data is more than cardview size and goes outside ,now I want such type of that my extra data is not visible before I click on cardview what should I do??
@mafiacodes
@mafiacodes 4 жыл бұрын
Use truncated text in ur text view
@mubasharhassan1998
@mubasharhassan1998 4 жыл бұрын
@@mafiacodes thank you!
@ultimat.
@ultimat. 3 жыл бұрын
Bonjour, je sais pas si vous allez pouvoir me donner l'info. J'ai créé une liste view et je croyais pouvoir attacher une autre liste wiew mais je n'y arrive pas. Mon projet et de présenter des articles de péche et pour cela j'ai besoin de créer des catégories exemples A1) matériels de pêche A>A>A>FICHE ARTICLES B1) matériels vêtements de pêche. B) >A> les chaussures B) >A>A > 1) hommes >toutes les chaussures homme présentation. B) >A>A > 2) femmes B) >B>A les patalons C1) ***** sous catégories de A) > A>a accessoires de pêche les bouchons A>b les apats A>b>1 Les appâts vivants A>b>1>a)vers A>b>1>a) 1 vers blanc A>b>1>a) 2 vers gris A>b>1>b)asticots A>b>1>b) 1 asticots boîte 5 A>b>2 Les appâts morts A>c1 les Cannes à pêche.... Et après la fiche de l'article. Comment procéder. J'ai cherché et rien trouvé si vous pouviez m'orienter ou me donner une source ou autre je suis preneur. Merci beaucoup par avance.
@AtulGupta-jj7ek
@AtulGupta-jj7ek 3 жыл бұрын
Please make a video on expandable listview
@mafiacodes
@mafiacodes 3 жыл бұрын
Why u wanna use a listview? Incase u still wanna use, the logic still remains the same.
@prakashmehta8872
@prakashmehta8872 4 жыл бұрын
Great stuff code of recyclerview expandable start from here 5:23
@amitghosh3938
@amitghosh3938 3 жыл бұрын
What to do if we want to expand only 1 view at a time ??
@mafiacodes
@mafiacodes 3 жыл бұрын
Implement own logic like looping all items and setting to false every other item
@vinayakchautre5056
@vinayakchautre5056 2 жыл бұрын
how to disable onclick of 1st item in childview
@mafiacodes
@mafiacodes 2 жыл бұрын
in bind view holder, check if index is 0
@afrididanial
@afrididanial 4 жыл бұрын
Thanks for help u work good one more think i want to let u know you are ading view.gone in adopter thats is not working for me but if i do view.invisible thats work for me any tips why view.gone not working for me but view.invisible working
@mafiacodes
@mafiacodes 4 жыл бұрын
Share code on github, so i can check
@siyandatholithemba9011
@siyandatholithemba9011 3 жыл бұрын
Hy, you have the best tutorials👍👌👍. I have been struggling to add an onclick lister on the child items of sectioned and expandable recyclerview, please can you share source code of that or any help. Am still a Junior developer
@mafiacodes
@mafiacodes 3 жыл бұрын
Use interface for them as well
@siyandatholithemba9011
@siyandatholithemba9011 3 жыл бұрын
@@mafiacodes I have tried please can you share code for my problem. I have watched the onclick interface and know how to use it failing on sectioned and expandable recyclerview to use it.
@kamalpreetsingh4782
@kamalpreetsingh4782 2 жыл бұрын
sir whenever 1 cardview is expanded and i try to open the other one..it doesn't expand
@mafiacodes
@mafiacodes 2 жыл бұрын
It should, compare with my repository
@kamalpreetsingh4782
@kamalpreetsingh4782 2 жыл бұрын
@@mafiacodes It works great now👍👍👍🙏🙏..i had some problem in my expandable constraint layout
@adityaroy1851
@adityaroy1851 4 жыл бұрын
Sir make file manager appication tutorial
@osamajune9
@osamajune9 4 жыл бұрын
I have implemented this in my project so when I am clicking on 1st index its opening but its covering 2nd index card as well what to do??????
@osamajune9
@osamajune9 4 жыл бұрын
It worked just change Recycler views xml root element from linear/relative to constraint layout
@rogercolque
@rogercolque 4 жыл бұрын
nice : )
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share ☺️
@amitghosh3938
@amitghosh3938 3 жыл бұрын
Great video 🥰🥰 Sir how to do this to firebase recycler vire
@mafiacodes
@mafiacodes 3 жыл бұрын
Inside on bindviewholder
@ninhphamhai6300
@ninhphamhai6300 4 жыл бұрын
fucking great, thank man
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share😊
@danielgabriealjayarajan6844
@danielgabriealjayarajan6844 4 жыл бұрын
Source Code?
@mafiacodes
@mafiacodes 4 жыл бұрын
In description
@rajuadapa05
@rajuadapa05 3 жыл бұрын
Sir, Please make same video for retrieve data from firebase database.. Waiting.. Sir please..
@mafiacodes
@mafiacodes 3 жыл бұрын
Already have a full series on firebase: Firebase | Build a Notes App kzfaq.info/sun/PLdHg5T0SNpN2NimxW3piNqEVBWtXcraz-
@rajuadapa05
@rajuadapa05 3 жыл бұрын
@@mafiacodes thank you sir, sir please make video for open pdf files in list view retrieve data from firebase database..
@rajuadapa05
@rajuadapa05 3 жыл бұрын
@@mafiacodes sir, which company you are working? Very curious to know about you? 😍💗💗
@mafiacodes
@mafiacodes 3 жыл бұрын
None I am working for my own company 😉
@rajuadapa05
@rajuadapa05 3 жыл бұрын
@@mafiacodes Hahaha 🤣🤣.. I think you are doing job in some IT company..
@nathann4608
@nathann4608 3 жыл бұрын
as soon as i feel I am learning sth u say its basic 😒
@mafiacodes
@mafiacodes 3 жыл бұрын
😅
@learnwithzo3531
@learnwithzo3531 2 жыл бұрын
Thanx a lot bro
Section Recycler View | Grouped Recycler View
25:22
Mafia Codes
Рет қаралды 20 М.
Multi view RecyclerView | getItemViewType() | Android
15:03
Mafia Codes
Рет қаралды 38 М.
THEY WANTED TO TAKE ALL HIS GOODIES 🍫🥤🍟😂
00:17
OKUNJATA
Рет қаралды 18 МЛН
Swipe gestures in Recycler View | Android
18:47
Mafia Codes
Рет қаралды 61 М.
Android Retrofit Interceptors + OkHttpClient | CheezyCode (Hindi)
13:50
Drag and drop Reorder in Recycler View | Android
7:05
Mafia Codes
Рет қаралды 31 М.
Android RecyclerView inside RecyclerView (Nested RecyclerView)
5:04
UI Exploratory
Рет қаралды 37 М.
Plasma 6.1 Is Good! But...
11:38
The Linux Cast
Рет қаралды 7 М.
Recycler View with complete explanation | Android
24:56
Mafia Codes
Рет қаралды 41 М.
Updates to sections, data tables & blueprints in HA 2024.7
11:45
BeardedTinker
Рет қаралды 8 М.
Expandable CardView - Java Android
12:38
Nick Dev
Рет қаралды 33 М.
Display your name using Toast || Ex 02 || 26/06/2024
16:40
Nishanth kumar
Рет қаралды 113