This file contains hidden or 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
function updateListView(records) { | |
if (records === 0) { | |
var item = $.postsList.sections[0].getItemAt(0); | |
item.template = 'noDataTemplate'; | |
$.postsList.sections[0].updateItemAt(0, item); | |
} else { | |
var item = $.postsList.sections[0].getItemAt(0); | |
item.template = 'zero'; | |
$.postsList.sections[0].updateItemAt(0, item); | |
} |
This file contains hidden or 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
function updateListView(records) { | |
if (records === 0) { | |
var item = $.postsList.sections[0].getItemAt(0); | |
item.template = 'noDataTemplate'; | |
$.postsList.sections[0].updateItemAt(0, item); | |
} else { | |
var item = $.postsList.sections[0].getItemAt(0); | |
item.template = 'zero'; | |
$.postsList.sections[0].updateItemAt(0, item); | |
} |
This file contains hidden or 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
function updateListView(records) { | |
if (records === 0) { | |
var item = $.postsList.sections[0].getItemAt(0); | |
item.template = 'noDataTemplate'; | |
$.postsList.sections[0].updateItemAt(0, item); | |
} else { | |
var item = $.postsList.sections[0].getItemAt(0); | |
item.template = 'zero'; | |
$.postsList.sections[0].updateItemAt(0, item); | |
} |
This file contains hidden or 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
var currentColor = [255,255,255]; //default color is white | |
var wv = Ti.UI.createWebView({ | |
url : '/html/canvas.html', | |
height : 500, | |
width : 500, | |
visible : false | |
}); | |
function changeSignatureColor(e) { |