Android Studio Tutorial - Recycler View Dynamic Load Data edmt dev

preview_player
Показать описание


Continuation is a technique applied on Recycler View. Dynamic data loading, assuming you have a long list of data returned from the Web Service, and you want to load enough data to view, when the user scrolls to the end of the recycler view, continue loading. until the end. This really increases the optimality for your application, today, I will guide you to do this :D

Рекомендации по теме
Комментарии
Автор

Hi - This tutorial looks quite straightforward in the first 80% but I get lost around the "random more data" 18:35 part because I am getting my data from firestore instead of generating random data. How would I go about this? Thanks!

slasht
Автор

How to refresh the updated data in recycler view?
To get the JSON data I have use volley library and I get the data from database.. but the issue is when there is a change or any updates in the backend (database) then in recycler view it reflects after 5 mins. Do we have any solution so that it updates the data item in recycler view and sends GET request every second or within a time interval to the database.

Diadem
Автор

Why you put on 17:45 on LoadMore if(items.size() < = 20){ items.add(null)...} im tryiing to implement on firebase

ferm
Автор

Awesome video Eddy. But how can I use it in a fragment? I put my code in onCreateView and the onLoadMore method is called only once. Thank you

bnyam
Автор

Thank you very much for the video. I am struggling all the long to implement this in my app with my particular features! :)

soonclass
Автор

Dear EDMT Dev, I would like to be the first one who like you. Thank you.

mohamadfattahi
Автор

This is what I was looking for today and your video is up thanks and one more thing I have build that news app of yours it was great

i_fahimkhan
Автор

How to use this system to load data from firebase if i use firebase recycler adapter instead of list items help pls

abbyplay
Автор

hello
thank you for this great tutorial.

can you add onClickListener on with this particular example?

because I get data for the list from a server using volley and display them in the recycler view
after I added pagination which is working perfectly thanks to you :)
when I click on one of the first 10 items it works fine
I scroll down to get another 10 they are loaded in the recycle view but when I click one of them it crashes and says IndexOutOfBound
it's like the activity only holds the last 10 loaded items and the adapter class has all the previously loaded item + the newly added 10 items

PS: my data source is returning results and is not null.

can you help me with this?

odeykhalaf
Автор

thanks for great tutorials, hum can you make the video that load the data using retrofit ?

shintaputri
Автор

My recycler view is deleting the old records and replacing the new data .
I dont know why
Please suggest me something

buntybhosle
Автор

does the dynamic data load can we get from API ? if the API data changed, can we load to recyclerview automatically, after first success login attempt??

masbro
Автор

how do I add scroll bar in recycler view not the transparent one ...one I can use to actually scroll in the recyclerview..please reply asap man

pembatamang
Автор

Thanks man, you saved my project <3

jhonnybarbosa
Автор

hello EDMT Dev can you make the video that load the data from api while typing in textview and show in recyclerview ..I mean like querying data? thanks

nojcena
Автор

So I did the same but instead of dummy data I used a function getData() and there I parsed the JSON after this I am only able to parse data one time., can you help?, The adapter.setLoadMore is called only once I dont know why

ishantanupatil
Автор

Dear Mr. Eddy, please would you help me, how to add pagination with Retrofit using PHP (if exist in your channel), thank you very much.

mohamedoulaasr
Автор

How to avoid flickering of imageview while using glide and calling notifyDataSetChanged on adapter. Thanks in advance

locho
Автор

Great ! You can use the android studio method shortcut ctrl +alt + m .Thank you.

ahmetkrmzoglu
Автор

Can we use this to load pictures into a GridView using Glide?

stcojo
welcome to shbcf.ru