Template ListView Properties/Events Alloy
Hi, I've a ListView but, as you can see, I have repeated the separatorColor property on several elements, and still does not change the color of the separator. The other issue, is that I cat get the...
View ArticleDuplicate Alloy Template In Code
I have a template defined in Alloy XML like so: <ItemTemplate name="codexTemplate" class='codexTemplateStyle'> <View layout='vertical'> <Label bindId="codexTitle"...
View ArticleTitanium UI templates
is there a source where I can download free titanium templates for building the UI?
View ArticleListView Row Click - Reveal child element - Alloy
Hey all. I'm wondering if what I'm trying to do it possible. I am using Alloy and build a listview with a template. I am hoping that onItemclick of a listview item I can reveal a child element within...
View ArticleAlloy ListView with Switch in template
I have a simple ListView using Alloy xml. It contains a switch (checkbox) and a label. How can i get all the items the user has marked (or the underlying data-index or something else) ? I am using...
View ArticlePicker in ListView item....
Hi, I'm using a template to display a picker inside a ListItem. This works, but how do I pre-select a row of the picker using picker.setSelectedRow()? I figured I could use the postlayout event in the...
View ArticleHow to add nested childTemplates inside listView??
Hi everyone.. I have code like this:var listViewRowTemplate = { properties: { height: '100dp' }, childTemplates: [ { //lblIndicator type: 'Ti.UI.Label', bindId:'lblIndicator', properties: {} }, {...
View ArticleAlloy ListView Memory Leak
MacOS 10.9, SDK 3.2.0, Alloy 1.3.0 Hi, I have been running some instrument tests on a simple ListView in iOS using a template and a small number of generated rows Index.xml is<Alloy> <Window...
View ArticleListView : how to add a imageView in a view
Hi, I'm porting a table view to a list view, and try to work with templates. in my table view I had a code like this :var v = Ti.UI.createView({left:4,width:64,height:64}); Â var img =...
View ArticleTrouble creating Mobile App Template
So I have gone through all the tutorials, created the ruble with the correct info and have everything in place for my app templates. I am able to select it from the list of templates but when I click...
View ArticleUsing for templates
Hi, How do I use require tag in xml and require method in .js file for importing templates. I have a collection of templates(for instance mytemplate.js) in app/lib folder. I wish to import those files...
View ArticleListView mixes up layout after template switch in app ?
I have a listView with some items (json feed as source). I also have 2 templates which determine the layout of the items. The idea is that a user can switch from layout 1 to layout 2 (big items, small...
View ArticleMultiple Buttons in Listview Template
Hello, How can i add multiple Buttons on ListView Template and add an eventhandler? So far i got this. But i get an empty list with no buttons._.each(results, function(result, id){ var resultSection =...
View ArticleIs there a workaround for Widgets in ListView ItemTemplates?
I'm currently trying to figure out a workaround for this issue: TC-4613. Items in the ListView should look like similar to this. Therefor, I want to use two widgets: starrating and remoteimage. Alloy...
View ArticleError occured when I quit default alloy two-tabbed app on device
Hi, I'm building app with 3.4.0GA SDK from alloy two-tabbed template app.[ERROR] : Can not close root window of the tab. Use removeTab insteadhas occurred when I quit default alloy two-tabbed template...
View ArticleHow to populate a ListView (with a template) from JSON ?
I make a call to a server that gives me back a JSON. What I want to do is to populate a ListView with a special template (for ie. : the name on a first line and the town on a second line at the...
View ArticleList View (Alloy templates) and accessing data from item clicked
Hi I hope someone could help as I have scoured the web and yet to find a clear solution to this simple issue I'm having. -I am using a list view and making a template - I am loading json from a web...
View ArticleSettings Window View
Hi everyone, I would like to create a Settings Window for my mobile application. To be more precise, I am speaking about an application settings window and not the app settings that appear within iOS...
View ArticleDefine listView template in controller on Android - doesn't seem to work?
Hi, I am using listViews to show our feed data. On iOS I include a JS file wich includes all of the template objects. When the items are created I am referring to the right template name. Works like a...
View ArticleAdjust style on ListItem in ListView created using Template
I have a list (using ListView) where I want to display two "bars" and let their length (i.e. "width" property) depend on their value. I use a ListView with a Template today - as I think this is the...
View Article