简体   繁体   中英

How to create a listview with checkbox settings in Titanium Appcelerator

I want to create a tableview with checkboxes for android using titanium mobile. The problem is i dont know how and where i can store and check the state of the checkboxes using javascript in titanium.

在此处输入图像描述

Use Titanium.App.Properties to save and recall the data. See http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.App.Properties-module

you can use models and collections for more information you can refer to http://docs.appcelerator.com/titanium/3.0/#!/guide/Alloy_Models

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM