-
-
Save HyShai/edfc8fd0a68ecfdfba34 to your computer and use it in GitHub Desktop.
test1.py
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
import clipboard, console, keychain, sys, ui, webbrowser, os | |
account_finder_view = ui.load_view('test1') | |
account_finder_view['foobar'].data_source = ui.ListDataSource({'title': str(x), 'accessory_type': 'detail_button'} for x in range(21, 30)) | |
@ui.in_background | |
def info_tapped(sender): | |
console.alert(account_finder_view['foobar'].data_source.items[sender.tapped_accessory_row]['title']) | |
account_finder_view.present('fullscreen') | |
jsbain
commented
Nov 17, 2014
That seems to fix both problems you mentioned
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment