No video

Pull to Refresh in Recycler View | Android

  Рет қаралды 49,974

Mafia Codes

Mafia Codes

Күн бұрын

In this video you will learn how to setup Swipe or Pull to refresh inside a Recycler view.
⭐ 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/g...
FREE $100 credit @Digital Ocean: m.do.co/c/3208...
Patreon: / trulymittal
Subscribe: www.youtube.co...
#RecyclerView: • Recycler View with com...
Github(Tutorial): github.com/tru...
#SwipeRefreshLayout: developer.andr...
RecyclerView: developer.andr...
RecyclerView(dependency): developer.andr...
---------------
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

Пікірлер: 71
@harishakula2274
@harishakula2274 3 жыл бұрын
Excellent tutorial, good narration android straight to the point. Can't believe this channel is underrated. Subscribed
@nanonewsticker8804
@nanonewsticker8804 4 жыл бұрын
Thank you for easy understandable explanation. Made my day.
@Mwme2000
@Mwme2000 4 жыл бұрын
THANKS Simple and amazing explanation
@MiYakudzik
@MiYakudzik 2 жыл бұрын
Thank you! Short and helpful! 👍👍
@AnyThink5
@AnyThink5 Жыл бұрын
very helpful
@lighttigerxiv
@lighttigerxiv 2 жыл бұрын
Nice video. Straight to the point :D
@ON-zd3vf
@ON-zd3vf 3 жыл бұрын
This was perfect, thank you!
@KashifAli-yg6yk
@KashifAli-yg6yk Жыл бұрын
Bhai jab ma aik activity see back press karta hu main activity par too mera pehly add huwa data removed hojata hen recyclerview mai please solution ??
@byangoymukamba827
@byangoymukamba827 3 жыл бұрын
you are the best, think you so so much
@DellohBorisOuahou
@DellohBorisOuahou 3 жыл бұрын
Please, what event to add to retrieve when I slide my finger over an element from left to right
@vikki4946
@vikki4946 3 жыл бұрын
Thank you
@neokerd9958
@neokerd9958 4 жыл бұрын
Thank you so much
@TodayVideostrending
@TodayVideostrending 3 жыл бұрын
bro Please Make One Video for Native Ads in Recyclerview using Volly Method
@prashantb386
@prashantb386 4 жыл бұрын
How to add androidx Swipe Refresh Library? classes could not be found androidx Swipe refresh layout
@AVAVines
@AVAVines 4 жыл бұрын
Same problem here
@lukecross5439
@lukecross5439 4 жыл бұрын
@@AVAVines this method is deprecated now
@vaibhavsrivastava9001
@vaibhavsrivastava9001 4 жыл бұрын
dependencies { implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0" }
@lukecross5439
@lukecross5439 4 жыл бұрын
Just be careful, the methods was changed in the AndroidX Jetpack, you need review the library.
@yesman3442
@yesman3442 6 ай бұрын
Thanks bro
@CristhianGomez
@CristhianGomez 4 жыл бұрын
Amazing, thanks for sharing!
@kondrashov-m
@kondrashov-m 3 жыл бұрын
Can you help me? How to make a swipe to update your browser page?
@vijayasrivuddanti7828
@vijayasrivuddanti7828 3 жыл бұрын
Hii, I am not able to find the swipe refresh tag when i am trying to add that in my project. for that do i need to add any dependency?
@yusepbudijono3960
@yusepbudijono3960 4 жыл бұрын
Thank you sir
@christiangp2
@christiangp2 4 жыл бұрын
Tank you for you video, bro. you're great.
@mafiacodes
@mafiacodes 4 жыл бұрын
I appreciate that!
@amitbaddi
@amitbaddi 4 жыл бұрын
Hai i have to change data List in Adapter pls help
@iamtipe
@iamtipe Жыл бұрын
Perfect
@Nick-cx4rs
@Nick-cx4rs Жыл бұрын
when i put recyclerview in swipe refresh layout rv shows nothing geting empty screen
@Nick-cx4rs
@Nick-cx4rs Жыл бұрын
lol i fixed . Used layout inspector and saw nestedscrollview hiding them in mainactivity idk why i was on fragment.
@syedumair3172
@syedumair3172 4 жыл бұрын
thank you
@mafiacodes
@mafiacodes 4 жыл бұрын
You're welcome
@kcreations5478
@kcreations5478 Жыл бұрын
Sir I want to create an android app for my IoT project. The working of the app is very simple the user can add device and control them through the app. I am using three fragments which are interchangeable according to the position to show these fragment I am using Viewpager2 in the FragmentStateAdapter class. In the device fragment I am using a recycler view in which I am adding some cardlayout according to the numbers of device present whenever a new device is added then a new card view is added to the second fragment but the problem is when I want to delete a device the device is deleted from the database but the change is not reflecting in the RecyclerView. The RecyclerViewadapter.notifydatasetChanged() method is also not working. Can you please help me
@dilshodiskandarov7144
@dilshodiskandarov7144 3 жыл бұрын
Rahmat brat
@rajm2671
@rajm2671 4 жыл бұрын
Please add a load more with bottom progessbar in this serious
@mafiacodes
@mafiacodes 4 жыл бұрын
ok will do sometime...
@Nebrass_
@Nebrass_ 2 жыл бұрын
i can't find swiperefrashlayout
@Aejaz-iw5rs
@Aejaz-iw5rs 2 жыл бұрын
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0" add it
@areview3655
@areview3655 5 жыл бұрын
Please shake animation button without hover
@mafiacodes
@mafiacodes 5 жыл бұрын
I made a GitHub repo for your help, checkout, github.com/trulymittal/ShakeAnimation
@ahsansyed4146
@ahsansyed4146 3 жыл бұрын
it is recommented to use SwipeRefreshLayouy only with RecyclerView? or we can use it on any type of layout(user detail form etc) ?
@mohamedayad70
@mohamedayad70 3 жыл бұрын
bro can you explain how to make sqlite database which has image and text we can display them into recyclerview ( but the images are not from the resources " the user put it " ) and thank you bro for your amazing tuts appreciate it
@googleaccount2385
@googleaccount2385 3 жыл бұрын
use picasso or glide libraries
@himanshukandwal1374
@himanshukandwal1374 4 жыл бұрын
Bro pls upload video on item decorations of recyclerview
@santhoshpilot9617
@santhoshpilot9617 4 жыл бұрын
hi sir when i refresh multiple times rows are getting duplicated. how to avoid the duplication when we do multiple time refresh. only once the data should be added even if we do multiple refreshing.
@mafiacodes
@mafiacodes 4 жыл бұрын
Clear ur data array
@67Diadem
@67Diadem 3 жыл бұрын
I have a question on recycler view, whenever data is loaded in the server, recycler view loads slowly, I get the data by using an API, can you please help me how to fasten the process of loading the data or is there any way to load the data in background so that whenever user open then he doesn't have to wait for some seconds..
@mafiacodes
@mafiacodes 3 жыл бұрын
use a background service...or work manager kzfaq.info/get/bejne/pdWAa86czdy2gX0.html
@rajatsonu01
@rajatsonu01 2 жыл бұрын
how and where this tutorial is useful.???
@vamsi1871
@vamsi1871 5 жыл бұрын
Make videos on services&broadcast receivers also Plz make videos of services topic and broad cast receivers and sqlite sir. . . .
@mafiacodes
@mafiacodes 5 жыл бұрын
will be coming in a couple of days, till then SUBSCRIBE LIKE SHARE
@devanshudixit259
@devanshudixit259 4 жыл бұрын
thanks for help
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share😊
@ananthkumar7943
@ananthkumar7943 5 жыл бұрын
How to make multiple recyclerview in single screen like Hotstar , Google play store
@mafiacodes
@mafiacodes 5 жыл бұрын
Pretty simple just add a couple of recycler vies inside the main nestedscroll view, if you want will make a video for the same
@rajm2671
@rajm2671 4 жыл бұрын
You can achieve with one recyclerview, As usual, we create an adapter class with viewholder class Now we extra add an adapter on that viewholder and set parent adapter as RecyclerView.RecycledViewPool, I hope this is helpful for start this process if you have trouble comment on it.
@jivanmainali1742
@jivanmainali1742 4 жыл бұрын
Sir what if we want it to refresh automatically after data is added to recyclerview
@trulymittal
@trulymittal 4 жыл бұрын
Jivan Mainali simply call adapter.notifydatasetchanged()
@jivanmainali1742
@jivanmainali1742 4 жыл бұрын
@@trulymittal sir kindly tell me where to store video if I want to have playlists of video courses in my app.Is it possible using firebase
@mafiacodes
@mafiacodes 4 жыл бұрын
yeah its very much possible and that is why we have Firebase Cloud Storage. I am currently running a series on Firebase and I will be covering this Cloud storage.
@jivanmainali1742
@jivanmainali1742 4 жыл бұрын
@@mafiacodes and what about bulk videos like that of tiktok
@jivanmainali1742
@jivanmainali1742 4 жыл бұрын
Sir how can we make a live features in app
@Arman_127
@Arman_127 2 жыл бұрын
Подключите субтитры а то я знаю только русский
@inderjitsingh9634
@inderjitsingh9634 4 жыл бұрын
Which theme r u using in Android studio sir?
@mafiacodes
@mafiacodes 4 жыл бұрын
Google developers theme
@inderjitsingh9634
@inderjitsingh9634 4 жыл бұрын
@@mafiacodes i m beginner in Android development, your videos helped me a lot. Thank u so much from the bottom of my ❤️
@mafiacodes
@mafiacodes 4 жыл бұрын
M glad that u like my videos, thank you. Subscribe like share 😊
@vamsi1871
@vamsi1871 5 жыл бұрын
Make video on sqlite open helper bro
@mafiacodes
@mafiacodes 5 жыл бұрын
will be making a video on Room Database, its built on top of sqlite, and you should be using that instead on plain old sqlite openhelper.
@vamsi1871
@vamsi1871 5 жыл бұрын
@@mafiacodes sir i know room data base fully can u tell hot to store images in room data base
@mafiacodes
@mafiacodes 5 жыл бұрын
Its not actually advisable to use db to store images but if you want then you can use blobs column to store OR you can use the base64 (which is a string) representation of the image and store inside any string column
@vamsi1871
@vamsi1871 5 жыл бұрын
@@mafiacodes yes can i have example to store images in inter memory and store reference in sqlite db room
RecyclerView item Click using Interface | Advanced Way | Android
7:01
RecyclerView | Everything You Need to Know
25:07
Practical Coding
Рет қаралды 133 М.
OCCUPIED #shortssprintbrasil
0:37
Natan por Aí
Рет қаралды 131 МЛН
Swipe gestures in Recycler View | Android
18:47
Mafia Codes
Рет қаралды 62 М.
Recycler View with complete explanation | Android
24:56
Mafia Codes
Рет қаралды 41 М.
Drag and drop Reorder in Recycler View | Android
7:05
Mafia Codes
Рет қаралды 32 М.
Expandable Recycler View | Android
12:28
Mafia Codes
Рет қаралды 45 М.
Section Recycler View | Grouped Recycler View
25:22
Mafia Codes
Рет қаралды 20 М.
Android Swipe To Refresh WebView | Android Studio Tutorial | 2020
9:23
Code Artisan Riz
Рет қаралды 3,9 М.
How to Refresh Data every Second - Android Studio Tutorial
7:24
Learn Kotlin in 12 Minutes
12:01
Rahul Pandey
Рет қаралды 319 М.