def setup(self):
"""
Binds Controller.current_account property.
"""
self.controller = App.get_running_app().controller
self.controller.bind(current_account=self.setter('current_account'))
# triggers the update
self.current_account = self.controller.current_account
self.controller.bind(accounts_history=self.update_history_list)
评论列表
文章目录