Android Beginner Tutorial #9 - Custom ListView Adapter [With Loading Animation]

preview_player
Показать описание
Android Beginner Tutorial #9 - Custom ListView Adapter [With Loading Animation]

By the end of this video you will know how to:
1) Use ListView best practices for displaying lots of information
2) Create a loading animation that activates when you scroll up/down

➤Source Code:

➤My Keyboard:

➤My Microphone:

➤Check out our website:
Рекомендации по теме
Комментарии
Автор

Appreciate the commentary on all declaration and method use. By far the best tutorials I have viewed for ListViews!

renegutierrez
Автор

Thanks Mitch. Coding in AS was giving me anxiety attacks but you make it so easy!

anewbeginningquinn
Автор

Thanks a lot! you have one of the best tutorials :)

muradbakhshiyev
Автор

Thanks so much dude, two fantastic videos.

therealxtremekarma
Автор

thanks to the tutorial I made the first program)

СамирАлиев-др
Автор

Hi Mitch,
I want to thank you for your videos, they are very helpful and clear.
Still I have a question: I made a little app like the one you did here; it's a sort of MediaPlayer, you scroll and play the media you want, clicking on its row.
To make it more "user friendly", when you click on a row, it changes color to highlight it - and on ending of the audio, it comes back to the starting color.

Now the problem is: if i play i.e. the first row and i scroll down and again up, the row doesn't "hold" the highlighted color.
With the animation like the one you did, the highlighted color passes from a row to another; without animation, the highlighted color just disappears.
I'm pretty sure that there is a logic in scrollig views/adapters that I'm missing.

Any ideas or suggestion?
Thank you very much!
Keep on with your tutorials! :)

federicosini
Автор

someone plz explain the arguments of getview() . also at 7:21 you say that if this position hasnt been visited yet then it will go to if condition....what do you mean by if this position hasnt been visited?

umertariq
Автор

Great Tutorial. What can i do when someone opens the layout for the first time it imeediately loads the data. ? With me when i open at first there would an empty item, Later on it would the first item

SeroujKhandjihanian
Автор

Hi there can you help me automated generate the list through save the add item into array

modifikasilampu
Автор

Could you explain, please, why do we need to create "final View result" if we still return "convertView"?

inmyview
Автор

How can I change the background color of the up and down anims?

samsman
Автор

Can you make a video on how to show data from a sqlite database in a list view please.

lifewithdavia
Автор

it doesn't work with me, there is a problem with identifying "declerate_interpolator", can u help me please?

TheJavacoder
Автор

Hi Mitch, could you kindly explain how I could reference these TextView items from the MainAcitivity? I need to add click listeners to invoke a function in it. Thanks.

mistercabana
Автор

pretty good. I'm working on an app that loads images into a recycler view. when I try to reference one image, it just gives me the reference to a different one.

AviPars
Автор

Custom listview in a fragment, please Mitch☺

thamisibeko
Автор

I feel the concept wasn't explained clearly: Even if the list is 100 items long, only about 10 items fit on the screen at once. So, ArrayAdapter is smart, and once 10 items are loaded, as user moves around, it re-uses one of the existing rows, and just passes it to you for you to change out the values.
So, 0 to 9 get null convertView, so we have to create them via inflate. Then, when the user scrolls up by one element, ArrayAdapter pulls out 0, puts it at the bottom and makes it position 10 and then gives it to you for setting the new values.

TheodoreRavindranath
Автор

Would removing the animations (setting all values to 0 in load_down_anim and load_up_anim) cause performance issues?

Автор

how we can save and display video from sdcard dynamically

mimrankhan
visit shbcf.ru