Kivy RecycleView - Kivy Tutorial #12

  Рет қаралды 15,608

ShawCode

ShawCode

Күн бұрын

Пікірлер: 94
@merv893
@merv893 Жыл бұрын
Wow your doing all this after your school homework, you have got a great future.
@snamone
@snamone 3 жыл бұрын
Ok, I completely prejudged you and I am sorry. I see so many kids o KZbin doing horrible programming videos there friends. As soon as I see someone who looks young I just scroll by. Well I am glad I didn't scroll by, that was an awesome video! One of the best I have seen explaining a Kivy related topic. Thank You!
@ShawCode
@ShawCode 3 жыл бұрын
:D
@tahep3906
@tahep3906 3 жыл бұрын
Thanks a lot for clarifying this seemingly complex widget use, I've seen its usage when taking a look at examples of KivyMd but I couldn't understand what's going on, it seems very powerful and we can do some great things with it I believe, thanks for the video
@ShawCode
@ShawCode 3 жыл бұрын
Thanks! I wasn't sure if I had explained it well enough, but it's great that you understood!
@mikewesselhoff439
@mikewesselhoff439 3 жыл бұрын
Thank you for doing this Kivy series. It's very helpful.
@ShawCode
@ShawCode 3 жыл бұрын
Glad you like them!
@ragnarok3888
@ragnarok3888 3 жыл бұрын
Bro I just wanna thank u, am starting with your beginner python series and it clear and you make it easy to understand thanks so much, can't wait to enter advanced series
@ShawCode
@ShawCode 3 жыл бұрын
Awesome!
@CinematicHeartstrings
@CinematicHeartstrings 2 жыл бұрын
Short and meaningful. thank you!
@jawadkhanofficial5765
@jawadkhanofficial5765 3 жыл бұрын
I am new here first I watch before videos
@ShawCode
@ShawCode 3 жыл бұрын
:)
@jawadkhanofficial5765
@jawadkhanofficial5765 3 жыл бұрын
Can you send me your email? I will contect you.
@ShawCode
@ShawCode 3 жыл бұрын
@@jawadkhanofficial5765 Sorry, I can't do that, but if you have any questions, you can just leave a comment
@jawadkhanofficial5765
@jawadkhanofficial5765 3 жыл бұрын
It’s ok no problem
@hacum6832
@hacum6832 2 жыл бұрын
Hi, just out of curiosity can Recycle view class to definition ? can't find any absolute example
@kevinarnaldomejiaportillo7373
@kevinarnaldomejiaportillo7373 3 жыл бұрын
Cool programming videos!! Good job!
@ShawCode
@ShawCode 3 жыл бұрын
Glad you like them!
@CrawDaddyT
@CrawDaddyT 2 жыл бұрын
How can we keep this list in sync with a data object? So if I add another item to the list on another layout, this list view will reflect the new elements when I navigate back to this view?
@joinpsye7045
@joinpsye7045 2 жыл бұрын
It's much more complicated to set events for each of those buttons. And I need help to find how.
@Uploadnamess
@Uploadnamess 3 жыл бұрын
Hello i have a problem a wanna make a simple app with kivy. When i opened app then i clicked button program has launching on the background and have to take screenshoot for detect something on the screen ,that is posible ?
@ShawCode
@ShawCode 3 жыл бұрын
I don't really understand what you are asking. Please could you clarify what you mean?
@Uploadnamess
@Uploadnamess 3 жыл бұрын
@@ShawCode Think of an application, this application will run in the background and take a screenshot and examine the picture so that if the color I want is in the picture, it will click on it. With Kivy
@ShawCode
@ShawCode 3 жыл бұрын
@@Uploadnamess I don't think that's possible
@JuicedApple
@JuicedApple 3 жыл бұрын
Cool vid👍😁
@ShawCode
@ShawCode 3 жыл бұрын
Thanks!
@maroso_
@maroso_ 3 жыл бұрын
Hi how would you remove buttons on click?
@ShawCode
@ShawCode 3 жыл бұрын
Check this link out: stackoverflow.com/questions/29660632/removing-images-on-clicks-in-kivy It is for images, but the same concept still applies to buttons as well!
@itspandapo
@itspandapo Жыл бұрын
Hello @ShawCode I am a Android app developer ! I'm using kivy for my android app development ! So I need to understand recyclerview in kivy, I know you have already uploaded a video of recyclerview, but i need complete knowledge of kivy recyclerview. Such as adding data to recyclerview, update recyclerview, using multiple data in it. Can you please help me ?
@llewellynvanwyk2282
@llewellynvanwyk2282 3 жыл бұрын
Hi how would you style the buttons? say like when i click one on the list the opacity changes or color? Cool video man
@ShawCode
@ShawCode 3 жыл бұрын
Thanks! If you want to modify the appearance of any widget, you're best looking at the documentation (there are loads of different properties that change the appearance, I can't really cover them all in a video). Here's the documentation for the button kivy.org/doc/stable/api-kivy.uix.button.html
@sarahpuri808
@sarahpuri808 3 жыл бұрын
nice job
@ShawCode
@ShawCode 3 жыл бұрын
Thanks!
@freddyishot
@freddyishot 3 жыл бұрын
Lol im commenting from a different acc but thats my main hehehehehe🤣🤣
@petelogiudice8202
@petelogiudice8202 3 жыл бұрын
Code runs without error, but only shows black screen with no button widgets. Any ideas why that might be?
@ShawCode
@ShawCode 3 жыл бұрын
Could you please copy and paste your code for me to look at?
@petelogiudice8202
@petelogiudice8202 3 жыл бұрын
@@ShawCode testapp.py from kivy.app import App from kivy.uix.recycleview import RecycleView from kivy.uix.button import Button class RV(RecycleView): def __init__(self): super().__init__() content = ['test','this is a string','another string'] self.data = [{'text':item} for item in content] class MyApp(App): def build(self): return RV() MyApp().run() testapp.kv : viewclass: 'Button' RecycleBoxLayout: default_size: None, 100 default_size_hint: 1, None size_hint_y: None height: self.minimum.height orientation: 'vertical'
@ShawCode
@ShawCode 3 жыл бұрын
@@petelogiudice8202 It isn't working because you haven't linked the kv file properly. It needs to be called the same thing as your App class, without the 'app' on the end. So it should be called my.kv. Let me know if you have any other problems!
@petelogiudice8202
@petelogiudice8202 3 жыл бұрын
@@ShawCode Thanks! I thought I had it named right, but just getting started, so obviously noob mistake. Works now.
@yousifahmed257
@yousifahmed257 3 жыл бұрын
Thank you for your good job . Also, If you have KIVYMD Tutorial Could you please share it.
@ShawCode
@ShawCode 3 жыл бұрын
Thanks! I haven't done a KivyMD tutorial, sorry.
@yousifahmed257
@yousifahmed257 3 жыл бұрын
Hope soon
@chuckle_channel88
@chuckle_channel88 3 жыл бұрын
PLEASE HELP!!!!!! Hey bro, I am confused on how to make a list that is not visible on the app but it generates and item when a button is. Can you please help me make that?? If you still respond
@ShawCode
@ShawCode 3 жыл бұрын
The next video in the series shows you how to do that!
@nikhil5387
@nikhil5387 3 жыл бұрын
hey bro!, please make a video on how to setup Python in Sublime Text 3, I am struggling to setup it. ;(
@nikhil5387
@nikhil5387 3 жыл бұрын
print('pls pls pls pls')
@abduksam
@abduksam 3 жыл бұрын
Just install python and sublime text and you press ctrl + b to run the file
@ShawCode
@ShawCode 3 жыл бұрын
I might make a video in the future on how to do it, but as long as you have python installed and you have selected it in sublime text, then you should be able to use it. You can always take a look at a guide online on how to do it!
@victordvickie
@victordvickie 3 жыл бұрын
@@nikhil5387 search odatnurd sublime
@SusanAmberBruce
@SusanAmberBruce 3 жыл бұрын
I watched all your tutorials up to #12 and I installed kivy in anaconda3 and copied your code and when I run it I get a window with no widgets and it doesn't respond on closing it and needs forced closing by windows OS. Any clue why? I can run it from anaconda prompt with: python file_name.py (Ex: python javatpoint.py) same thing no widgets but at least it will close without trouble
@ShawCode
@ShawCode 3 жыл бұрын
Sorry, I don't know much about anaconda. I guess you could just run your kivy apps normally, without anaconda?
@SusanAmberBruce
@SusanAmberBruce 3 жыл бұрын
@@ShawCode Yep exactly what I been doing, thanks for the tutorial, you have a real talent there!
@ShawCode
@ShawCode 3 жыл бұрын
@@SusanAmberBruce Thanks!
@hryanmahajan4264
@hryanmahajan4264 3 жыл бұрын
Hey there Lovely tutorials i just need a favor.. i have python 3.9.1 and when i write pip install pygame the cmd shows that is is successfully installed. Where as when I go to Visual Studio code and write import Pygame it shows an error
@ShawCode
@ShawCode 3 жыл бұрын
Try and see if you can import pygame in IDLE, and then we'll know if it's an issue with VS Code
@hryanmahajan4264
@hryanmahajan4264 3 жыл бұрын
Ok i will try thanks for the help :)
@faxmodem2397
@faxmodem2397 3 жыл бұрын
hi What will be the final project in this course? Provide a preview of it
@ShawCode
@ShawCode 3 жыл бұрын
I am going to show you how to make it next video!
@faxmodem2397
@faxmodem2397 3 жыл бұрын
@@ShawCode I look forward to it
@ShawCode
@ShawCode 3 жыл бұрын
@@faxmodem2397 :)
@buddhikaranasinghe7981
@buddhikaranasinghe7981 3 жыл бұрын
hey bro !, good job, I have a problem, how we can add values to recycle view with screen manager ?
@ShawCode
@ShawCode 3 жыл бұрын
If you follow the tutorial covering the screen manager, all you have to do is treat the recycleview like any other widget, and then add it to the screen manager!
@buddhikaranasinghe7981
@buddhikaranasinghe7981 3 жыл бұрын
@@ShawCode thanks broh
@menyepy
@menyepy 3 жыл бұрын
Hello Caleb! I like your tutorials! I am starting my KZbin channel. I want to link my viewers to your python tutorials. Just wanted to let you know.
@ShawCode
@ShawCode 3 жыл бұрын
Thanks! Your video is awesome, a lot better than my first!
@jasonrebello1423
@jasonrebello1423 3 жыл бұрын
Hi Shaw, please make a video on how to link sqllite 3 database to kivy app.
@ShawCode
@ShawCode 3 жыл бұрын
I might do in the future!
@ragnarok3888
@ragnarok3888 3 жыл бұрын
Is kivy used for games
@abduksam
@abduksam 3 жыл бұрын
Yes you can see build with python kivy tutorials
@ShawCode
@ShawCode 3 жыл бұрын
Kivy can be used for games. They are usually done with the Kivy Canvas that I showed you how to use in the 7th tutorial of the series
@raymahmood777
@raymahmood777 3 жыл бұрын
Hi Shawcode, I wanted to start using your kivy tutorial to create a python app, however whenever I try to do the code it comes up with the error : ImportError: cannot import name 'app' from 'kivy.app' Please help, also keep up the great work with the tutorial these are the best on KZbin
@raymahmood777
@raymahmood777 3 жыл бұрын
Okay I just changed the word app to App and the word label to Label, seems to be working!! thank you so much for these videos shawn, keep it up
@ShawCode
@ShawCode 3 жыл бұрын
I'm glad you are enjoying them! Good job on fixing the error.
@madzeussfitness8730
@madzeussfitness8730 3 жыл бұрын
Is there anyway I can contact you? On instagram or email? I have a few questions.
@ShawCode
@ShawCode 3 жыл бұрын
Sorry, I can't do that, but you can just leave your questions as a comment!
@menyepy
@menyepy 3 жыл бұрын
But stay tuned, I heard about a potential Discord server!
@ShawCode
@ShawCode 3 жыл бұрын
Here's the invite to my discord server! discord.com/invite/RvNFCymnPn
@learnnow9598
@learnnow9598 3 жыл бұрын
Bro how to get pressed value from list?
@ShawCode
@ShawCode 3 жыл бұрын
You would need your list to be buttons. They would need to have on_press events. You would also need to use an ObjectProperty to access the button from the python file. Let me know if you need any more help!
@learnnow9598
@learnnow9598 3 жыл бұрын
@@ShawCode I really don't understand fully. So can you share code with comments please. If you have fb or Instagram or Gmail. Please send there or can you send code here if you can?
@ShawCode
@ShawCode 3 жыл бұрын
@@learnnow9598 Sorry, I can't do that, but I can answer your questions here. Do you understand how to turn the items in the list from labels to buttons?
@learnnow9598
@learnnow9598 3 жыл бұрын
@@ShawCode yes I know to make buttons. But bro there is only on press or on release. How will I get the value?
@ShawCode
@ShawCode 3 жыл бұрын
@@learnnow9598 Do you know how to use an ObjectProperty?
@freddyishot
@freddyishot 3 жыл бұрын
First kivy vid 60k views
@ShawCode
@ShawCode 3 жыл бұрын
:D
@connordechart
@connordechart 3 жыл бұрын
sorry buddy but all you did is copy and paste some code from the documentation, this does not solve anything
@ShawCode
@ShawCode 3 жыл бұрын
Apologies.
@magnusk5860
@magnusk5860 2 жыл бұрын
I disagree. He also explained at lot of the details in a clear way.
KivyMD DataTables - Python Kivy GUI Tutorial #53
14:20
Codemy.com
Рет қаралды 30 М.
Je peux le faire
00:13
Daniil le Russe
Рет қаралды 21 МЛН
Teaching a Toddler Household Habits: Diaper Disposal & Potty Training #shorts
00:16
Create a scrollview with a list of items in KIVYMD
12:03
Simple Python App with Kivy - Step by Step GUI Tutorial
13:11
Python Simplified
Рет қаралды 399 М.
Convert Python to Android with WINDOWS & LINUX + Fix Common Bugs
18:59
Python Simplified
Рет қаралды 224 М.
Kivy KV File Tutorial - Kivy Tutorial #9
9:01
ShawCode
Рет қаралды 8 М.
Deploying Your Kivy/Python App to Android with Buildozer
19:17
Erik Sandberg
Рет қаралды 147 М.
Modern Graphical User Interfaces in Python
11:12
NeuralNine
Рет қаралды 1,5 МЛН
kivy dropdown menu (Spinner)
7:23
Tirrou Oussama
Рет қаралды 2 М.
Make Modern Python Dashboards With Tkinter & Matplotlib!
15:54
TurbineThree
Рет қаралды 98 М.
Je peux le faire
00:13
Daniil le Russe
Рет қаралды 21 МЛН