How can I receive the event if I reach the bottom or end of the list
In a ScrollView, can I run a def if I reach the end of the list in a ScrollView or MDList?
App.py
from kivy.lang import Builder
from kivymd.app import MDApp
import kivymd_extensions.akivymd
from kivy.uix.screenmanager import ScreenManager, Screen
img = ["https://ar.anime-slayer.com/wp-content/uploads/2022/04/Ashampoo_Snap_2022.04.11_20h41m49s_005_-215x300.webp", "03.jpg", "13.jpg", "15.jpg", "24.jpg", "28.jpg", "29.jpg", "33.jpg", "34.jpg"]
KV = """
<MyTile@SmartTile>
size_hint_y: None
height: "240dp"
ScrollView:
id: scroll
MDGridLayout:
id: grid
cols: 3
adaptive_height: True
padding: dp(4), dp(4)
spacing: dp(4)
MyTile:
source:"https://ar.anime-slayer.com/wp-content/uploads/2022/04/Ashampoo_Snap_2022.04.11_20h41m49s_005_-215x300.webp"
MyTile:
source:"15.jpg"
MyTile:
source:"24.jpg"
MyTile:
source:"13.jpg"
"""
class Test(MDApp):
def build(self):
#self.ids.grid.add_widget(SmartTile(source = img[0]))
return Builder.load_string(KV)
Test().run()