Pull to Refresh in Recycler View | Android

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 พ.ย. 2024

ความคิดเห็น • 71

  • @harishakula2274
    @harishakula2274 3 ปีที่แล้ว +5

    Excellent tutorial, good narration android straight to the point. Can't believe this channel is underrated. Subscribed

  • @lighttigerxiv
    @lighttigerxiv 2 ปีที่แล้ว +1

    Nice video. Straight to the point :D

  • @nanonewsticker8804
    @nanonewsticker8804 4 ปีที่แล้ว +2

    Thank you for easy understandable explanation. Made my day.

  • @MiYakudzik
    @MiYakudzik 3 ปีที่แล้ว +1

    Thank you! Short and helpful! 👍👍

  • @DellohBorisOuahou
    @DellohBorisOuahou 3 ปีที่แล้ว

    Please, what event to add to retrieve when I slide my finger over an element from left to right

  • @Mwme2000
    @Mwme2000 4 ปีที่แล้ว +2

    THANKS Simple and amazing explanation

  • @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) ?

  • @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?

  • @ON-zd3vf
    @ON-zd3vf 3 ปีที่แล้ว +1

    This was perfect, thank you!

  • @kondrashov-m
    @kondrashov-m 3 ปีที่แล้ว

    Can you help me? How to make a swipe to update your browser page?

  • @prashantb386
    @prashantb386 4 ปีที่แล้ว +2

    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 ปีที่แล้ว +1

      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.

  • @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 4 ปีที่แล้ว +1

    you are the best, think you so so much

  • @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

  • @TodayVideostrending
    @TodayVideostrending 4 ปีที่แล้ว

    bro Please Make One Video for Native Ads in Recyclerview using Volly Method

  • @killerHumanRabbit
    @killerHumanRabbit ปีที่แล้ว +1

    very helpful

  • @christiangp2
    @christiangp2 4 ปีที่แล้ว +1

    Tank you for you video, bro. you're great.

    • @mafiacodes
      @mafiacodes  4 ปีที่แล้ว

      I appreciate that!

  • @CristhianGomez
    @CristhianGomez 4 ปีที่แล้ว +1

    Amazing, thanks for sharing!

  • @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

  • @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 th-cam.com/video/ooP8kkhvRQI/w-d-xo.html

  • @neokerd9958
    @neokerd9958 4 ปีที่แล้ว +1

    Thank you so much

  • @Nick-cx4rs
    @Nick-cx4rs 2 ปีที่แล้ว

    when i put recyclerview in swipe refresh layout rv shows nothing geting empty screen

    • @Nick-cx4rs
      @Nick-cx4rs 2 ปีที่แล้ว

      lol i fixed . Used layout inspector and saw nestedscrollview hiding them in mainactivity idk why i was on fragment.

  • @amitbaddi
    @amitbaddi 4 ปีที่แล้ว

    Hai i have to change data List in Adapter pls help

  • @yusepbudijono3960
    @yusepbudijono3960 4 ปีที่แล้ว +1

    Thank you sir

  • @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

  • @inderjitsingh9634
    @inderjitsingh9634 4 ปีที่แล้ว

    Which theme r u using in Android studio sir?

    • @mafiacodes
      @mafiacodes  4 ปีที่แล้ว +1

      Google developers theme

    • @inderjitsingh9634
      @inderjitsingh9634 4 ปีที่แล้ว +1

      @@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 😊

  • @rajm2671
    @rajm2671 4 ปีที่แล้ว

    Please add a load more with bottom progessbar in this serious

    • @mafiacodes
      @mafiacodes  4 ปีที่แล้ว +1

      ok will do sometime...

  • @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

  • @ElOsoRobbie
    @ElOsoRobbie 5 ปีที่แล้ว

    Please shake animation button without hover

    • @mafiacodes
      @mafiacodes  5 ปีที่แล้ว

      I made a GitHub repo for your help, checkout, github.com/trulymittal/ShakeAnimation

  • @syedumair3172
    @syedumair3172 4 ปีที่แล้ว +1

    thank you

  • @iamtipe
    @iamtipe ปีที่แล้ว

    Perfect

  • @dilshodiskandarov7144
    @dilshodiskandarov7144 3 ปีที่แล้ว

    Rahmat brat

  • @jivanmainali1742
    @jivanmainali1742 5 ปีที่แล้ว

    Sir what if we want it to refresh automatically after data is added to recyclerview

    • @trulymittal
      @trulymittal 5 ปีที่แล้ว +2

      Jivan Mainali simply call adapter.notifydatasetchanged()

    • @jivanmainali1742
      @jivanmainali1742 5 ปีที่แล้ว

      @@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  5 ปีที่แล้ว +1

      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 5 ปีที่แล้ว

      @@mafiacodes and what about bulk videos like that of tiktok

    • @jivanmainali1742
      @jivanmainali1742 5 ปีที่แล้ว

      Sir how can we make a live features in app

  • @himanshukandwal1374
    @himanshukandwal1374 4 ปีที่แล้ว

    Bro pls upload video on item decorations of recyclerview

  • @ananthkumar7943
    @ananthkumar7943 5 ปีที่แล้ว

    How to make multiple recyclerview in single screen like Hotstar , Google play store

    • @mafiacodes
      @mafiacodes  5 ปีที่แล้ว +2

      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.

  • @Nebrass_
    @Nebrass_ 3 ปีที่แล้ว

    i can't find swiperefrashlayout

    • @Aejaz-iw5rs
      @Aejaz-iw5rs 2 ปีที่แล้ว +2

      implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
      add it

  • @devanshudixit259
    @devanshudixit259 4 ปีที่แล้ว +1

    thanks for help

    • @mafiacodes
      @mafiacodes  4 ปีที่แล้ว

      Subscribe like share😊

  • @rajatsonu01
    @rajatsonu01 2 ปีที่แล้ว

    how and where this tutorial is useful.???

  • @vamsi1871
    @vamsi1871 5 ปีที่แล้ว

    Make video on sqlite open helper bro

    • @mafiacodes
      @mafiacodes  5 ปีที่แล้ว +1

      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

  • @Arman_127
    @Arman_127 2 ปีที่แล้ว

    Подключите субтитры а то я знаю только русский

  • @vikki4946
    @vikki4946 3 ปีที่แล้ว

    Thank you

  • @yesman3442
    @yesman3442 9 หลายเดือนก่อน

    Thanks bro