Expandable Recycler View | Android

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

Mafia Codes

Mafia Codes

Күн бұрын

Пікірлер: 146
@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
@bartlomiejdrozd2357
@bartlomiejdrozd2357 4 жыл бұрын
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 4 жыл бұрын
Great idea 💡
@Luis-xe9og
@Luis-xe9og 4 жыл бұрын
Pretty straightforward. Well explained and directly to the point!
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share
@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 😊
@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😊
@ravimishra8632
@ravimishra8632 4 жыл бұрын
They way you explained is very simple and clear. Video is helpful. keep uploading such content!..
@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
@androidcell7093
@androidcell7093 5 жыл бұрын
Very well explained. I was waiting for this video
@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
@sateeshchikkalagi904
@sateeshchikkalagi904 5 жыл бұрын
Nice explanation with zoom i searched lot for this video finally I got it Thanks
@mafiacodes
@mafiacodes 5 жыл бұрын
Subscribe like share
@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
@MattandShivs
@MattandShivs 4 жыл бұрын
So simple it makes me want to cry. Great job!!!
@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?
@sayyedaamer9243
@sayyedaamer9243 5 жыл бұрын
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.
@nightmarexcvm
@nightmarexcvm 4 жыл бұрын
Thank you so much. It is better than many libraries in github.
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share 😊
@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 kzbin.info/www/bejne/d5zMnaeKq5V2oKM
@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.
@MultiPAVEL86
@MultiPAVEL86 4 жыл бұрын
Worked wonders for me. Thank you.
@mafiacodes
@mafiacodes 4 жыл бұрын
Great to hear!
@MartinDev77
@MartinDev77 4 жыл бұрын
Thanks for sharing, very easy to follow the tutorial. I greet you from Argentina.
@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
@slash0t5
@slash0t5 4 жыл бұрын
Very helpful video. Make sure you use boolean or Boolean but not both. :)
@mafiacodes
@mafiacodes 4 жыл бұрын
Yup my bad 🤗
@Lion-bi8fy
@Lion-bi8fy 3 жыл бұрын
Nice tutorial! Thanks :)
@ItsMrsSharma
@ItsMrsSharma 4 жыл бұрын
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 4 жыл бұрын
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 4 жыл бұрын
@@mafiacodes Thanks i will work on it and surely let you know.
@mafiacodes
@mafiacodes 4 жыл бұрын
Surely
@rafiulansari
@rafiulansari 4 жыл бұрын
Great video and very easy to follow. Thanks!
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share
@harshadbb9996
@harshadbb9996 3 жыл бұрын
Can we add buttons if yes... how to add??
@yanshulnarotra4934
@yanshulnarotra4934 3 жыл бұрын
Thank you so much bro
@justanotherdaydream
@justanotherdaydream 4 жыл бұрын
Thanks for the tutorial!
@mafiacodes
@mafiacodes 4 жыл бұрын
subscribe like share
@prakashmehta8872
@prakashmehta8872 4 жыл бұрын
Great stuff code of recyclerview expandable start from here 5:23
@sachetthashrestha539
@sachetthashrestha539 5 жыл бұрын
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 5 жыл бұрын
That exact video is already planned, will be in a week.
@sachetthashrestha539
@sachetthashrestha539 5 жыл бұрын
@@mafiacodes waiting for this,sir :D
@tanmaysinghal8370
@tanmaysinghal8370 3 жыл бұрын
@@mafiacodes did you post that video sir?
@EddyMP
@EddyMP 5 жыл бұрын
Salvaste mi semestre!!
@mafiacodes
@mafiacodes 5 жыл бұрын
subscribe like share 😊
@louis18071957
@louis18071957 4 жыл бұрын
you are the best I learn android with you THANKS !!!!!!
@mafiacodes
@mafiacodes 4 жыл бұрын
Thanks, Subscribe like share...
@Omerr_developer
@Omerr_developer 3 жыл бұрын
Nice video , thank you :)
@ultimat.
@ultimat. 4 жыл бұрын
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.
@josephmota358
@josephmota358 4 жыл бұрын
Thanks. Worked fine
@rameshkrishnan6754
@rameshkrishnan6754 4 жыл бұрын
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 4 жыл бұрын
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😊
@forester1
@forester1 2 жыл бұрын
Really good channel ☺️👍
@UniformDelta00
@UniformDelta00 5 жыл бұрын
thanks for your creativity !
@mafiacodes
@mafiacodes 5 жыл бұрын
Subscribe like share ☺️
@siyandatholithemba9011
@siyandatholithemba9011 4 жыл бұрын
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 4 жыл бұрын
Use interface for them as well
@siyandatholithemba9011
@siyandatholithemba9011 4 жыл бұрын
@@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.
@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 KZbin video .....
@hamid-karimi
@hamid-karimi 4 жыл бұрын
this is great , thank you
@ianrosales9284
@ianrosales9284 3 жыл бұрын
The best.
@nadaak2385
@nadaak2385 4 жыл бұрын
Thanks for sharing.
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share
@denialfian2122
@denialfian2122 5 жыл бұрын
Nice tutorial, Keep it up :)
@mafiacodes
@mafiacodes 5 жыл бұрын
Thx subscribe like share ☺️
@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
@Arunkumar-xf1hd
@Arunkumar-xf1hd 2 жыл бұрын
i have created the same but my expandable layout view imidiatly(no animation like slide)
@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!! ;-)
@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!
@ttttrent2668
@ttttrent2668 2 жыл бұрын
Thanks man!
@mafiacodes
@mafiacodes 2 жыл бұрын
Subscribe like share
@habbeetayonak2355
@habbeetayonak2355 4 жыл бұрын
Can u explain how adding search or filter items to expandabl RecyclerView please
@mafiacodes
@mafiacodes 4 жыл бұрын
you can use the same logic as in this video: kzbin.info/www/bejne/eYXZq6KMqbCigJo
@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 KZbin video ..... Please make a telegram account Please.... To help us
@mkc0321
@mkc0321 3 жыл бұрын
very good video
@abhilashgurudeva386
@abhilashgurudeva386 3 жыл бұрын
Thanks for this..
@amitghosh3938
@amitghosh3938 4 жыл бұрын
What to do if we want to expand only 1 view at a time ??
@mafiacodes
@mafiacodes 4 жыл бұрын
Implement own logic like looping all items and setting to false every other item
@esegovia
@esegovia 5 жыл бұрын
Thank u so much, bro
@mafiacodes
@mafiacodes 5 жыл бұрын
Subscribe like share😊
@rahhi9792
@rahhi9792 5 жыл бұрын
Waiting for this video sir
@mafiacodes
@mafiacodes 5 жыл бұрын
@6:00PM IST
@kamalpreetsingh4782
@kamalpreetsingh4782 3 жыл бұрын
sir whenever 1 cardview is expanded and i try to open the other one..it doesn't expand
@mafiacodes
@mafiacodes 3 жыл бұрын
It should, compare with my repository
@kamalpreetsingh4782
@kamalpreetsingh4782 3 жыл бұрын
@@mafiacodes It works great now👍👍👍🙏🙏..i had some problem in my expandable constraint layout
@AtulGupta-jj7ek
@AtulGupta-jj7ek 4 жыл бұрын
Please make a video on expandable listview
@mafiacodes
@mafiacodes 4 жыл бұрын
Why u wanna use a listview? Incase u still wanna use, the logic still remains the same.
@rahulsharma6703
@rahulsharma6703 4 жыл бұрын
Hello friends please help me recyclerview expandable show grid formate
@ninomuring6653
@ninomuring6653 5 жыл бұрын
Is there a way that this could be also applied to FirestoreRecyclerAdapter?
@mafiacodes
@mafiacodes 5 жыл бұрын
You can use the same logic and can apply
@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.
@mohammadmehdikhajehzadeh1655
@mohammadmehdikhajehzadeh1655 3 жыл бұрын
good I like it
@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
@amitghosh3938
@amitghosh3938 4 жыл бұрын
Great video 🥰🥰 Sir how to do this to firebase recycler vire
@mafiacodes
@mafiacodes 4 жыл бұрын
Inside on bindviewholder
@vinayakchautre5056
@vinayakchautre5056 2 жыл бұрын
how to disable onclick of 1st item in childview
@mafiacodes
@mafiacodes 2 жыл бұрын
in bind view holder, check if index is 0
@reddym6849
@reddym6849 4 жыл бұрын
Thanks
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share😊
@ninhphamhai6300
@ninhphamhai6300 5 жыл бұрын
fucking great, thank man
@mafiacodes
@mafiacodes 5 жыл бұрын
Subscribe like share😊
@MuhammadAhmad-qg1ri
@MuhammadAhmad-qg1ri 3 жыл бұрын
Great
@danielgabriealjayarajan6844
@danielgabriealjayarajan6844 4 жыл бұрын
Source Code?
@mafiacodes
@mafiacodes 4 жыл бұрын
In description
@rogercolque
@rogercolque 5 жыл бұрын
nice : )
@mafiacodes
@mafiacodes 5 жыл бұрын
Subscribe like share ☺️
@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
@adityaroy1851
@adityaroy1851 5 жыл бұрын
Sir make file manager appication tutorial
@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
@rajuadapa05
@rajuadapa05 4 жыл бұрын
Sir, Please make same video for retrieve data from firebase database.. Waiting.. Sir please..
@mafiacodes
@mafiacodes 4 жыл бұрын
Already have a full series on firebase: Firebase | Build a Notes App kzbin.info/aero/PLdHg5T0SNpN2NimxW3piNqEVBWtXcraz-
@rajuadapa05
@rajuadapa05 4 жыл бұрын
@@mafiacodes thank you sir, sir please make video for open pdf files in list view retrieve data from firebase database..
@rajuadapa05
@rajuadapa05 4 жыл бұрын
@@mafiacodes sir, which company you are working? Very curious to know about you? 😍💗💗
@mafiacodes
@mafiacodes 4 жыл бұрын
None I am working for my own company 😉
@rajuadapa05
@rajuadapa05 4 жыл бұрын
@@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
@learnwithzo3531
@learnwithzo3531 2 жыл бұрын
Thanx a lot bro
Section Recycler View | Grouped Recycler View
25:22
Mafia Codes
Рет қаралды 20 М.
Recycler View with complete explanation | Android
24:56
Mafia Codes
Рет қаралды 41 М.
ЗНАЛИ? ТОЛЬКО ОАЭ 🤫
00:13
Сам себе сушист
Рет қаралды 4,1 МЛН
the balloon deflated while it was flying #tiktok
00:19
Анастасия Тарасова
Рет қаралды 35 МЛН
Человек паук уже не тот
00:32
Miracle
Рет қаралды 3,6 МЛН
Human vs Jet Engine
00:19
MrBeast
Рет қаралды 189 МЛН
THIS Is How You Schedule Alarms on Android with AlarmManager
21:55
Philipp Lackner
Рет қаралды 41 М.
RecyclerView | Everything You Need to Know
25:07
Practical Coding
Рет қаралды 142 М.
RecyclerView in Android Studio using Kotlin | Android Knowledge
12:11
Android Knowledge
Рет қаралды 18 М.
Swipe gestures in Recycler View | Android
18:47
Mafia Codes
Рет қаралды 62 М.
Expandable RecyclerView in Android Studio
24:16
Mohsin Raza
Рет қаралды 33 М.
Multi view RecyclerView | getItemViewType() | Android
15:03
Mafia Codes
Рет қаралды 38 М.
Expandable ListView in Android Studio
19:52
Mohsin Raza
Рет қаралды 11 М.
5 СЕКРЕТНЫХ преимуществ Android эмулятора которые вы не знали!
26:44
Android Broadcast. Все об Андроид разработке
Рет қаралды 2,5 М.
ЗНАЛИ? ТОЛЬКО ОАЭ 🤫
00:13
Сам себе сушист
Рет қаралды 4,1 МЛН