Recycler View with complete explanation | Android

  Рет қаралды 41,317

Mafia Codes

Mafia Codes

4 жыл бұрын

In this video you will learn how to setup a basic #RecyclerView with detailed explanation of each class and method used inside building a recycler view.
You will also learn the following:
1. attach onclicklisteners
2. two ways to add layout manager
3. row removal Animation
4. adding a divider item decoration
5. adding in a #Ripple effect
6. + A lot more
🚀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/?...
Github(Tutorial): github.com/trulymittal/Recycl...
RecyclerView: developer.android.com/guide/t...
RecyclerView(dependency): developer.android.com/guide/t...
---------------
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

Пікірлер: 168
@tonnie7079
@tonnie7079 3 жыл бұрын
I just sat back n watched this video and by the end I was a master of RecyclerView, to hell with ListViews. Yours Truly you are awesaam. I wish there was a button to like twice.
@ccarnagee7867
@ccarnagee7867 4 жыл бұрын
That is one of the best if not the best RecyclerView tutorial... Subscribed...
@sedinang75
@sedinang75 6 ай бұрын
Great tutorial for a beginner as it shows each step in a clear and straightforward manner. Thanks a bunch
@KapilTapsi
@KapilTapsi 4 жыл бұрын
Best tutorial ever. I had wasted whole day searching for guide. This was the best for me solving all of my problems
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share
@aneeshahamed2490
@aneeshahamed2490 3 жыл бұрын
Before I watching your video I seen some other videos. Your video only clear my all doubts
@ivanovsergiu8575
@ivanovsergiu8575 4 жыл бұрын
The best tutorial on recycler view and adapters, I have been watching tons of tutorials, but this one is the best. It explains in detail every step and also why each step is needed. Good job! Please make some tutorials on networking and android database. thank you
@mafiacodes
@mafiacodes 4 жыл бұрын
Thank you 😊, you can watch my video on retrofit for networking: RETROFIT Tutorial (v 2.5.0) | HTTP Client | Android Studio 3.2.1 kzfaq.info/get/bejne/Z6yGoqV-ntqWeZ8.html
@ent-hub2830
@ent-hub2830 4 жыл бұрын
Excellent video Sir..., I was watching recyclerVeiw tutorials from 10 am, but none of the tutorials work for me, Thank God I finally found this video (at 2 am) and it clears my concept about recyclerview, and finally I'm able to run a recyclerview code successfully. Now I can sleep peacefully...... Again Sir Thanks a lot
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share
@ent-hub2830
@ent-hub2830 4 жыл бұрын
@@mafiacodesalready Done Sir
@gibraanjafar1669
@gibraanjafar1669 3 жыл бұрын
Thanks a ton for this wonderful video explanation. This is perhaps the best explanation for recyclerView I have ever seen. You are a savior.
@MdARahim
@MdARahim 4 жыл бұрын
Hats off boss! I learned about RecyclerView the hard way. I still have had some confusion. Your video just has made everything clear! WoW!
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share
@MdARahim
@MdARahim 4 жыл бұрын
@@mafiacodes I already Did. When someone will look for videos on android apps I will definitely point them to your channel.
@sayyedaamer9243
@sayyedaamer9243 4 жыл бұрын
Wow.. literally i was waiting for this and I am going to comment to make video on this topic 😁. Thanks brother.
@Tangarama
@Tangarama 4 жыл бұрын
Well done tutorial. I have watched 10 others and visit 20 Webpages... Now I got it! Thanks.
@mafiacodes
@mafiacodes 4 жыл бұрын
Glad you like it, subscribe like share 😊
@ahmednafiunoman5040
@ahmednafiunoman5040 4 жыл бұрын
best brother you are the Best..i already watched more then 6 videos but no one teches like you about this topic
@rohitchoudhary6843
@rohitchoudhary6843 3 жыл бұрын
You are awesome bro...Your videos helped me a lot. Thanks for making them man.
@androideparanoico_
@androideparanoico_ 3 жыл бұрын
Just amazing, thank you! You explained it so clearly and perfect!
@mafiacodes
@mafiacodes 3 жыл бұрын
Glad that you like it
@altenevelyn9547
@altenevelyn9547 3 жыл бұрын
i love the way you explain difference between listViev and recyclerView. Thanks a lot :)
@mafiacodes
@mafiacodes 3 жыл бұрын
Happy to hear that!
@handsomeman5098
@handsomeman5098 3 жыл бұрын
thank you.... your explanation makes me understand easily.
@sorinaion1365
@sorinaion1365 4 жыл бұрын
Best tutorial for recyclerView ! Thank you !
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share 😊
@BABATECHNOPEDIA
@BABATECHNOPEDIA 4 жыл бұрын
You are the best android tutor!
@Rakesh_Raptan
@Rakesh_Raptan 3 жыл бұрын
Awesome explanation . Even someone is experienced he can learn new things always . Great tutorial boss . 👍
@mohammadnoorhossain126
@mohammadnoorhossain126 Жыл бұрын
Excellent Tutorial, Thanks a lot Boss!
@ajaygalagali5963
@ajaygalagali5963 4 жыл бұрын
Clearly explained, thank you😀
@sankar6934
@sankar6934 4 жыл бұрын
Bro you were simply awesome🙌🙌
@niladrimallik3172
@niladrimallik3172 3 жыл бұрын
I loved your video. You explained everything in such an easy manner. Thank you.
@mafiacodes
@mafiacodes 3 жыл бұрын
Glad you like it
@nitingoswami1959
@nitingoswami1959 4 жыл бұрын
sir u r true android studio explainer.it was very nice keep it up
@mafiacodes
@mafiacodes 4 жыл бұрын
Thanks 😊 Subscribe like share
@nitingoswami1959
@nitingoswami1959 4 жыл бұрын
I already did it😀
@hissabis2068
@hissabis2068 3 жыл бұрын
Thank you very much, you do a great job.
@jumpToTech007
@jumpToTech007 3 жыл бұрын
best of the best Explanation about Recycle-view thanx bro
@mafiacodes
@mafiacodes 3 жыл бұрын
Thanks and welcome
@abhimangalm.s4073
@abhimangalm.s4073 3 жыл бұрын
Great tutorials
@mjbx5923
@mjbx5923 3 жыл бұрын
concept clear 🥰🥰
@mohanavelk2724
@mohanavelk2724 3 жыл бұрын
Good one Bro !! Keep going
@brianmagee2314
@brianmagee2314 2 жыл бұрын
Very well taught. Thank you.
@mafiacodes
@mafiacodes 2 жыл бұрын
Glad you enjoyed it! Subscribe like share
@mdevikadarlami2110
@mdevikadarlami2110 3 жыл бұрын
Finally Understood, Thank you so much ...
@mafiacodes
@mafiacodes 3 жыл бұрын
Glad that you like 👍 subscribe like share
@josephmota358
@josephmota358 4 жыл бұрын
Thanks Sir, It finally worked for me, with a few code varitations, because I'm using Android X
@sefatergbashi
@sefatergbashi 2 жыл бұрын
Thank you!
@bite027_ketansharma6
@bite027_ketansharma6 2 жыл бұрын
This is by far, the best tutorial on recyclerView I have seen, just because you ran the app with each step you did, which helped me understand what (almost) each line of code is doing. Thanks! Thor Ragnarok bahut aachi movie hai btw XD
@mafiacodes
@mafiacodes 2 жыл бұрын
Great to hear! Subscribe Like Share
@jishnuvedhikz4404
@jishnuvedhikz4404 3 жыл бұрын
This is an awesome tutorial. very well explained. loves it, bro.
@badoorX9
@badoorX9 4 жыл бұрын
Thank you very much I was looking like this video for long time
@mafiacodes
@mafiacodes 4 жыл бұрын
Thanks 😊
@hugovandenbulcke4323
@hugovandenbulcke4323 Жыл бұрын
Thank you a lot it was really difficult for me to find good explanations online.
@oOojOrGeEeoOo
@oOojOrGeEeoOo 3 жыл бұрын
Man thank you so much
@shitalchaudhari2379
@shitalchaudhari2379 4 жыл бұрын
wow man awesome explanation.thankyou
@mafiacodes
@mafiacodes 4 жыл бұрын
Thx shital, subscribe like share ☺️
@learnandearn4847
@learnandearn4847 3 жыл бұрын
Well explained with why what and where.. Perfect
@mafiacodes
@mafiacodes 3 жыл бұрын
thanks...
@aaronbuckles5622
@aaronbuckles5622 4 жыл бұрын
Great tutorial! Thanks!
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share ☺️
@hissabis2068
@hissabis2068 4 жыл бұрын
Thank you, I like your tutos.
@aditya2927
@aditya2927 3 жыл бұрын
Tu bohat mast kaam karta hai maksood bhai.
@monikapatel847
@monikapatel847 3 жыл бұрын
Excellent explaination👍
@mafiacodes
@mafiacodes 3 жыл бұрын
Thank you 🙂
@nishaanthsalian256
@nishaanthsalian256 3 жыл бұрын
fantastic. good one
@ivalazarevska
@ivalazarevska 3 жыл бұрын
Thank you so much!!!
@mafiacodes
@mafiacodes 3 жыл бұрын
Glad it helped!
@saitejd8108
@saitejd8108 4 жыл бұрын
Amazing explanation
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share
@abhishekgoud100
@abhishekgoud100 4 жыл бұрын
Awesome tutorial.. Thank you so much sir
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share 😊
@georgebestjriii9645
@georgebestjriii9645 2 жыл бұрын
Awesome stuff man😊😊.
@mafiacodes
@mafiacodes 2 жыл бұрын
Subscribe like share
@user-xr6zo2qf7y
@user-xr6zo2qf7y 3 жыл бұрын
Thank you
@speaktruth2power510
@speaktruth2power510 4 жыл бұрын
Your are very good..Thanks for sharing your knowledge with us
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share😊
@hirenambaliya611
@hirenambaliya611 3 жыл бұрын
Good good efforts thanks
@gopinathder8765
@gopinathder8765 4 жыл бұрын
Bhai thankyou very much
@deepakprajapati5064
@deepakprajapati5064 2 жыл бұрын
best explanation
@mafiacodes
@mafiacodes 2 жыл бұрын
Glad you think so!
@zarakkhan1484
@zarakkhan1484 4 жыл бұрын
thank you sir... lots of love from Pakistan
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share ☺️
@user-sc3oz9eo3g
@user-sc3oz9eo3g 4 жыл бұрын
thank you !
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share 😊
@Amyousing
@Amyousing 3 жыл бұрын
Nice one cool
@evane1009
@evane1009 2 жыл бұрын
great Video
@slash0t5
@slash0t5 4 жыл бұрын
These guys videos are awesome. I wish there was somebody who did the same for UITableViewController.
@mafiacodes
@mafiacodes 4 жыл бұрын
Well I am going to start ios tutorials in a couple of weeks, so stay tuned. Subscribe like share
@slash0t5
@slash0t5 4 жыл бұрын
@@mafiacodes subscribed. Also please query actual data since that's how real apps work. You don't have to do the setup but we would like to see how to query and load the data into the array before we use them in Table views and Recycler views.
@shoot9852
@shoot9852 4 жыл бұрын
very nice
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share ☺️
@rahhi9792
@rahhi9792 4 жыл бұрын
great video sir, please make a tutorial on getItemViewType() in recycleview for multiple items view.
@mafiacodes
@mafiacodes 4 жыл бұрын
Will try to make it
@TheAbhidugar
@TheAbhidugar 3 жыл бұрын
SUBSCRIBED. Do you have any playlist for learning android development?
@dennisgonzales9521
@dennisgonzales9521 4 жыл бұрын
Nicely Done! When will you be using Kotlin :)
@mafiacodes
@mafiacodes 4 жыл бұрын
Well soon enough 😊
@ryank1956
@ryank1956 3 жыл бұрын
The two thumbs down must be from old girlfriends. Great vid! Hope you do some vids in Kotlin
@mafiacodes
@mafiacodes 3 жыл бұрын
😂
@DellohBorisOuahou
@DellohBorisOuahou 3 жыл бұрын
Please , what event to add to retrieve when I slide my finger l over an item
@rajatkhanna5256
@rajatkhanna5256 3 жыл бұрын
very detailed knowledge in this tutorial but. i have doubt at video time 18:30 how recycler view updates u passed empty list in constructor after setting adapter you added items in arraylist how this will handle is recyclerview keep checking on arraylist
@thuptentsundu9533
@thuptentsundu9533 4 жыл бұрын
Please when you make tutorial ... Will you explain logic behind . Otherwise video is good .. Thanks you
@67Diadem
@67Diadem 2 жыл бұрын
I have a question at 16:26 that is if I want to display a value in a text view, for example:- "good day" only at row/position number 5 and rest of the row should be blank. How can we achieve this?
@ajaytp4975
@ajaytp4975 4 жыл бұрын
Why onCreateViewHolder not calling in recycleview adapter class?
@neekoooo6282
@neekoooo6282 4 жыл бұрын
Hi sir could i ask what do i do if i want to display names in two textviews? For example one displays Name and one displays Address. Thank you
@mafiacodes
@mafiacodes 4 жыл бұрын
Create a custom object and display it,
@AbhishekKumar-br5eh
@AbhishekKumar-br5eh 3 жыл бұрын
Beginner Friendly Notes. Skip to _Summary to setup Up basic Recycler View_ for just the basic flow *Steps for setting up basic recycler view* 1. Create recycler view ViewGroup in XML and refer to it using findViewById in corresponding Activity. (inside oncreate) 2. Create Recycler Adapter class 3. Create ViewHolder class inside Adapter class. It extends from recyclerview.viewHolder . implement the constructor . 4. Adapter class extends RecyclerView.Adapter() Pass the type as ViewHolder created above. eg. RecyclerAdapter.ViewHolder 5. Implement methods for RecyclerAdapter 1. getItemCount() -> Returns collection size 2. onCreateViewHolder() -> This method creates rows and returns viewHolder. Note that it is only called a few more times than the number of items shown on screen at once. 1. Create RowXml if not done yet. 2. Create Instance of Layout Inflater .from(parent.context) 3. Create view by layoutInflater.inflate(R.layout.row_item, parent, false) 4. Create viewHolder by passing view created above as argument 5. return viewholder 6. viewType argument of this method is used if we want to return multiple view holders 3. onBindViewHolder() - implement after writing viewholder class logic 6. Write logic in viewHolder class -> ViewHolder class has access to all individual views (like image view, textview etc) inside each rowitem. 1. The viewholder class constructor takes itemView parameter (of type view). This itemView is now our row xml. Hence we can use itemView.findViewById to refer to all elements in each row. 7. Now inside the Activity where we had declared RecyclerView, we should declare Recycler Adpater 8. Attach Layout Manager to RecyclerView to Specify which type of recycler view we are using. 1. eg. recyclerView.setLayoutManager(LinearLayoutManager(this)) 2. Alternatively we can open xml of recyclerView and use property app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" 9. Attach RecyclerAdpater to recycler View. eg. recyclerview.setAdapter(recyclerAdapter) 10. Now lets implement onBindViewHolder() -> This takes holder and position as arguments and used to set data in each row. Hence it is called for each item in collection as opposed to onCreateViewHolder() 1. holder is obj of type ViewHolder. Hence the image view/textview elements we had referred to inside ViewHolder Constructor are available here. 2. We can use position to set values. eg. holder.rowTextView.setText(position.toString()) *Summary to setup Up basic Recycler View* 1. Recycler View XML -> Activity -> Attach Layout Manager to xml OR activity. -> Row xml 2. Create Recycler Adapter -> inner ViewHolder -> viewholder extends -> implement viewholder constructor -> extend recyclerAdapter and pass in viewholder as type -> implement recycleradpater methods 3. Return size in getItemCount() -> Create layoutInflater from parent.context, view by row xml; parent; false and viewholder from view. Return viewholder from onCreateViewHolder() 4. Refer to row elements in viewHolder constructor using itemview -> Use this holder to set values to elements in onBindViewHolder() 5. Create instance of recyclerAdapter in Activity. Attach RecylerAdapter to recycler view. *Passing Collection to RecyclerView* 1. Create Collection in Activity. Add data to it and pass to RecyclerAdapter while creating its instance. 2. Create a property for the collection and constructor to populate from this collection in Adapter class 3. Make changes to Adapter Methods 1. getItemCount() -> return collection.size 2. onBindViewHolder() -> now you can access collection items using position and use it to set current row. *Setting up Divider* 1. Create instance of DividerItemDecoration in Activity. It takes context and orientation (of recycler View) 2. Attach to recyclerView using recyclerView.setItemDecoration(dividerItemDecoration) *Adding OnClick Listener to Items* 1. Attach onClickListener to itemview inside viewHolder constructor. It takes context as parameter 2. Implement View.OnClickListener interface for ViewHolder 3. Override OnClick method in viewHolder. It has access to view argument. We can use it to get context. eg, view.getContext(). Also current position is provided by getAdapterPosition() 4. For longClickListener -> Attach onLongClickListener inside view holder constructor (similar to onClickListener) 1. Either override OnLongClickListener like onClick OR 2. We can pass onLongClickListener while attaching to itemview itself. Return true to mention that long click was handled 5. If making changes to collection, then trigger appropriate methods like notifyItemRemoved() etc. It takes position as argument *Ripple effect to Items* 1. Add following change to row xml parent view group -> add property : "?attr/selectableItemBackground" to android:background (or foreground)
@MathFunda
@MathFunda 4 жыл бұрын
Brother you are much better than codinginflow channel of Android You explain everything.
@syedibrahim1361
@syedibrahim1361 4 жыл бұрын
which theme are you using ?
@mafiacodes
@mafiacodes 4 жыл бұрын
Google developers
@TheAbhidugar
@TheAbhidugar 3 жыл бұрын
how to get these text colors in the editor? Which theme or plugin is required?
@mafiacodes
@mafiacodes 3 жыл бұрын
google developers theme
@TheAbhidugar
@TheAbhidugar 3 жыл бұрын
@@mafiacodes Could not find it. Can you please give the specifics?
@mafiacodes
@mafiacodes 3 жыл бұрын
GitHub louiscad google developers
@Games_canbe_funny
@Games_canbe_funny 2 жыл бұрын
Hi, I am new to Java and android development. I have one confusion , how is the recycler adapter called from main activity.
@mafiacodes
@mafiacodes 2 жыл бұрын
Watch the video it’s explained in detail
@Games_canbe_funny
@Games_canbe_funny 2 жыл бұрын
@@mafiacodes Ya I have watched many times but my question is a bit technical, still couldnt figure out the calling of recycler adapter from main activity, can you just message me the line from code where actual call is placed from Main screen, will be really helpful for me to understand it fully. Thanks in advance and great work bro 👍
@sorinaion1365
@sorinaion1365 4 жыл бұрын
Dear Sir, please kindly tell me: whenI click on a line from the RecyclerView, how do I access a specific item from that line ? For example, what code should I write in order to access the existing image ? I want to replace that image with an "edit" icon and, when i click on that icon, a DialogAlert should appear and the user be able to modifiy something. Thank you !
@mafiacodes
@mafiacodes 4 жыл бұрын
RecyclerView item Click using Interface | Advanced Way | Android kzfaq.info/get/bejne/d9GZn9eF25anmnU.html This video you can watch to implement clicks. 😊
@vbonnal
@vbonnal 3 жыл бұрын
Thanks for that !!! Heu... please also... add the automatic subtitles... you are speaking too rapidly :-[
@mafiacodes
@mafiacodes 3 жыл бұрын
Surely I will try my best - though the auto generated subtitles are available there for English
@vbonnal
@vbonnal 3 жыл бұрын
@@mafiacodes It's great what you're doing. It helps us a lot. But for this video, as for some of your channel (not all) there is no automatic English subtitle. KZfaq offers me to write them but not to have them automatically. This is chosen when you publish the video normally. In any case, there is no subtitle available. My English is bad and since you speak fast, I have a hard time understanding everything. But once again, thank you very much for your work and sharing your great experience with Android. You are precious to us !
@mafiacodes
@mafiacodes 3 жыл бұрын
Thanks a ton, I will try my best to upload the subtitles for this video
@aakashgupta7489
@aakashgupta7489 4 жыл бұрын
E/RecyclerView: No adapter attached; skipping layout can u help me to resolve this error
@mafiacodes
@mafiacodes 4 жыл бұрын
Attach a recycler adapter and set the layout manager. If still have problem share code on GitHub for me to check
@parthanarra6335
@parthanarra6335 4 жыл бұрын
I have a doubt sir, How could the divider line can skip first element and start from second element
@mafiacodes
@mafiacodes 4 жыл бұрын
This is how divider item decoration works internally, it knows abt the first element.
@sitaramgangode912
@sitaramgangode912 4 жыл бұрын
Hi Sir I successfully used a recyclerview in an app. Thank you for it.But I have a problem. I have used a switch case in my public void onItemClick(int position) to open different activities & it works perfectly but when I filter the items with searchView, a lower item comes to top position. So when I filter the names every item opens the activity of first position instead the activity intended. I don't know how to solve it. Please guide for it..
@nicoin.3178
@nicoin.3178 4 жыл бұрын
I have a question, is possible to do the same thing without androidx. Constraintlayout.widget.ConstraintLayout?
@mafiacodes
@mafiacodes 4 жыл бұрын
Yes you can use any layout
@nicoin.3178
@nicoin.3178 4 жыл бұрын
@@mafiacodes Ah ok thank you! 😁
@aritrikguha5742
@aritrikguha5742 4 жыл бұрын
Hi, how can I travel to a new activity with the movie name, and show it there on a textView? Please guide
@mafiacodes
@mafiacodes 4 жыл бұрын
Passing Objects between Activities | Parcelables | Android Studio 3.2.1 kzfaq.info/get/bejne/m6-deNuD3rSXpnk.html
@aritrikguha5742
@aritrikguha5742 4 жыл бұрын
@@mafiacodes Thanks for the video. I had one more doubt in mind- cant I use intent to travel to another activity, and get the cdata like you have done in the toast to show movie name?
@aritrikguha5742
@aritrikguha5742 4 жыл бұрын
Even if am passing parcelable, how am I supposed to send the immediate clicked data to next activity? I have tried it but its not working,remains in same activity. If you want I can share the code. Please help
@mafiacodes
@mafiacodes 4 жыл бұрын
U have to pass data using intent by making ur class parcelable
@fransismason6538
@fransismason6538 4 жыл бұрын
how to change default image to other image which every list have different image?
@mafiacodes
@mafiacodes 4 жыл бұрын
Using image view setimage
@fransismason6538
@fransismason6538 4 жыл бұрын
@@mafiacodes example pls
@fransismason6538
@fransismason6538 4 жыл бұрын
movieslist.add(new movieImageClass(R.drawable.ic_sample, addText "Marvel")); like that, I saw it on other video
@osmangraphy
@osmangraphy 3 жыл бұрын
How to add a new row during run Time?
@mafiacodes
@mafiacodes 3 жыл бұрын
add item to array list and simply call notifyDataSetChanged().
@kimberlynepa9252
@kimberlynepa9252 3 жыл бұрын
Hi. When I try to run it on my phone, the recyclerview won't open and somehow the app will crash and it will go back directly to my homepage. Do you possibly know what's wrong or how to troubleshoot this? I had followed everything you say but it's just not working with the app I'm trying to develop. I hope you can help. Thank you very much for the understanble tutorial :)
@mafiacodes
@mafiacodes 3 жыл бұрын
Can u share what’s the error ur getting in logs, or share the repo on GitHub so I can check.
@kimberlynepa9252
@kimberlynepa9252 3 жыл бұрын
@@mafiacodes Hi! Thank you so much for replying. Can I email it to you instead? Can I have your email?
@kimberlynepa9252
@kimberlynepa9252 3 жыл бұрын
And also where can we download the recyclerview dependency? I think that’s what I miss that’s why my Recyclerview is not showing. When I open my file it is just plain white and page will automatically close
@ScarlettArashi
@ScarlettArashi Жыл бұрын
自動字幕がほしい
@anikettikariha8066
@anikettikariha8066 3 жыл бұрын
can i get a link to the code please
@mafiacodes
@mafiacodes 3 жыл бұрын
in description
@pankajprasar
@pankajprasar 3 жыл бұрын
My app is crashing it stop automatically
@mafiacodes
@mafiacodes 3 жыл бұрын
What error?
@jianruizmangampo
@jianruizmangampo 3 жыл бұрын
whenever I change my theme to NoActionBar the recycler view disappears
@mafiacodes
@mafiacodes 3 жыл бұрын
Share code on GitHub
@jianruizmangampo
@jianruizmangampo 3 жыл бұрын
@@mafiacodes hoow
@wongt7718
@wongt7718 3 жыл бұрын
Do you have a Facebook or email to contact you with? Thank you
@mafiacodes
@mafiacodes 3 жыл бұрын
Yourstruly2607 at gmail
@xaxage
@xaxage 3 жыл бұрын
Please add subtitles. I am not a native speaker so please ..
@mafiacodes
@mafiacodes 3 жыл бұрын
Will try buddy, though u can use the auto generated captions in English
@xaxage
@xaxage 3 жыл бұрын
@@mafiacodes The thing is ...I can't . It's unavailable . Please check it out .
@harshadbb9996
@harshadbb9996 3 жыл бұрын
Dud you dint liked thor ragnarok?? Seriously??
@provokator-provocateur7603
@provokator-provocateur7603 2 жыл бұрын
I eat curry everyday
Pull to Refresh in Recycler View | Android
4:27
Mafia Codes
Рет қаралды 49 М.
Multi view RecyclerView | getItemViewType() | Android
15:03
Mafia Codes
Рет қаралды 38 М.
NERF WAR HEAVY: Drone Battle!
00:30
MacDannyGun
Рет қаралды 56 МЛН
버블티로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 125 МЛН
RecyclerView | Everything You Need to Know
25:07
Practical Coding
Рет қаралды 130 М.
Swipe gestures in Recycler View | Android
18:47
Mafia Codes
Рет қаралды 61 М.
Simple Explanation of RecyclerView in Android
8:35
Brandan Jones
Рет қаралды 24 М.
RecyclerView item Click using Interface | Advanced Way | Android
7:01
How does RecyclerView work internally?
28:39
Native Mobile Bits
Рет қаралды 1,8 М.
Expandable Recycler View | Android
12:28
Mafia Codes
Рет қаралды 45 М.