Files
FastAnime/fastanime/View/HomeScreen/home_screen.kv
Benex254 f8e073867a feat(home screen): implement load more anime functionality to improve start up time
This feature only gets anime of a particular category and only preloads
trending category
2024-08-05 09:46:57 +03:00

30 lines
955 B
Plaintext

<HomeScreenView>
md_bg_color: self.theme_cls.backgroundColor
main_container:main_container
MDBoxLayout:
NavRail:
screen:root
MDAnchorLayout:
anchor_y: 'top'
padding:"10dp"
MDBoxLayout:
orientation: 'vertical'
id:p
SearchBar:
MDScrollView:
size_hint:1,1
MDBoxLayout:
id:main_container
padding:"50dp","5dp","50dp","150dp"
spacing:"10dp"
orientation: 'vertical'
size_hint_y:None
height:self.minimum_height
MDButton:
on_press:
if root.controller: root.controller.get_more_anime()
MDButtonText:
text:"Load More Anime"