ledzep2
2015-01-06 10:57:02 +08:00
楼主readme里错误需要修正, 如下
*A button they you can slide to open or close something*
不要they, 本应是that, 不过也可以省略了. open and close最好换成on and off, 开关都是on和off, 空间之类才是open close. 比如门窗. 动词是turn something on and off
*About this SlideSwitch*
不要this, 多余
*you can initial the state(open or close) in jave code in this way.*
initial换成initialize, 因为需要的事动词, in this way换成this way, in是多余的.
*and you can listen the change of the slideswitch like this*
listen to the changes/events