Kivy Tutorial 4 : Kivy ListView & ListAdapter

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

In part 4 of my Kivy video tutorial we'll make an interface for a student database and a toolbar. We'll look at how ListViews, ListAdapters and much more work. By the end you'll be able to take what we learned in part 26 of my learn to program series and have a working database app with Kivy.

Thank you to Patreon supports like the following for helping me make this video

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

Thanks so much for this series of tutorials. I got up and running in a single afternoon with Kivy. You are a good teacher.

CRJessen
Автор

I am thoroughly enjoying your keevee piethawn tutorials.

joedempseysr.
Автор

Hi Derek. Hands down, your tutorials are the absolute best. I've been a long time follower. Typical tutorials spend too much time talking and very little time actually showing us. I like that you are short sweet and to the point. Great work! One item I noticed in the latest Kivy (1.11.0) is that uix.listview has been removed and no longer available (for the latest version). Is there any other method we can use for this part of the tutorial in lieu of listview? Thanks in advance.

AlexanderPerez-oegu
Автор

Hello Sir, how can I do the same thing in kivy 2.0, because in 2.0 there's no more List View?

loko
Автор

Also:
Why did you use imports in the beging of the .kv file, while In the previous videos you didn't do it?

vitalybu
Автор

Hi Derek, I probably has asked this question to quite a while ago. You been very kind to guide me. The question of what programming language should I learn. Having started my journey and covered a few basics I have arrived at the following. I will cover the MEAN stack and also learn python as a standalone server side language. JS seems to be the future so I am going to get depth in that area and python is a breeze to learn which make me inclined to it. In the future if I need to branch to AI then it s good option too... Thank again Derek. Just have been my inspiration and Guru so thought I should share. Keep making those amazing videos.

sandeepvk
Автор

Thank you Darek for another great tutorial. As you said before Kivy is the best python option for building gui apps and I definitely agree with you. This really looks like modern application.

Besides I never thought that I'll be able to build gui programs. With your help it is possible now! Thanks again and I'm very excited about what will be next:)

marcinkuta
Автор

Another awesome tutorial.
Many Thanks Derek

masoud
Автор

I really enjoy this Kivy tutorials. Please create more of them covering other topics.
.

remmo
Автор

Hi Derek, great tutorials for kivy ! I didn't know your channel, and I see that you cover a large range of subjects in informatics, that's quite awesome.
I have a little question concerning this tutorial : you used a Listview in this tutorial and thus had to concatenate first names and last names in a single case, but is it possible in kivy to create something more like a table, with rows and columns ?
Thanks for your videos ;)

toannong
Автор

Are there any plans to have an updated Kivy Tutorial? Many of the examples used in these videos have been deprecated. ListView is a good example to be replaced by RecycleView.

No books have been written since 2015.
Documentation isn't clear on how to use ActionView with FileChooser so I can create a text editor with drop down menus like File and Edit.

emryscass
Автор

Hi Derek. I really enjoyed this tutorial. How can i make the list in alphabetical order. I tried 'sorted() on data in the ListView adapter in the KV file but it never worked. It sorts it if i enter data into the list before starting the app but it doesnt sort them as i add data. Please can you advise on how to do it. Many thanks....

JoeElliotSA
Автор

Great video. I need to do the same but with a DataTable but I cant set new values or modify any values from the table. How could I do it?

yhungp
Автор

And how to save the note, after closing the program everything new notes disappear except "Doug Smith" written in kv.file. Need save button. Is there adapter.data.save method in Kivy. Or something another. I hope your Kivy-lessons to be continued. Very interesting.

rorow-o
Автор

I feel bad that this is free... Your time, expertise, and clarity is so greatly appreciated. I am, however, glad it's free, because I probably would not have invested in something I only have my spare time to spend on. Nonetheless, if I were to make a contribution to your work, where would I send it to ensure it makes it to you?

brandonkris
Автор

Hi Derek, it's an awesome video you have hear and I must commend your skills and effort. Just a quick one, how do I customize the 'listitembutton', I don't like the green color and the spacing, so I Will like to change the color and height. Tried to do that but it didn't work. I will really appreciate if you can help.

christopherokoro
Автор

Another awesome tutorial of yours. Tanks a lot Mr Banas. I have a little issue on utf-8 encoding. I wonder if there is any way to use utf8 encoding in ListAdapter?

DincerHoca
Автор

Can you please upload a video about kivymd selection....?

xerogaming
Автор

Hi Derek,
I really love your tutorial videos. I was wondering if you could help me out and advise on how to use recycler view instead of list view(deprecated)?

chirag
Автор

What does "Student Database: " do in the kv.file? I know that "<StudentDB"> refers to the class in Python, but now sure why Student Database: is used. Thank you.

MasayoMusic