Created
September 28, 2013 19:07
-
-
Save amalgamatedclyde/6745337 to your computer and use it in GitHub Desktop.
here is my callback
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def callback2(instance): | |
global student_details | |
try: | |
if instance.state == 'down': | |
student_list.adapter.data = MedicalList() | |
elif instance.state == 'normal': | |
student_list.adapter.data = StudentList() | |
student_list.adapter.cached_views = [] | |
student_list.populate() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment