Skip to content

Commit

Permalink
update the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Leaking committed Jan 7, 2015
1 parent 6fe4a07 commit 4899b15
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ SlideSwitch
===========


## About this SlideSwitch
## About SlideSwitch

A button they you can slide to open or close something
A button that you can slide on or off


## How to use it
Expand All @@ -28,14 +28,14 @@ you can define a slideswitch in xml like the following example



you can initial the state(open or close) in jave code in this way
you can initial the state(on or off) in jave code in this way


```java
bulletSwitch.setState(true);
```

and you can listen the change of the slideswitch like this
and you can listen to the change of the slideswitch like this

```java
updateSwitch.setSlideListener(new SlideListener() {
Expand Down

0 comments on commit 4899b15

Please sign in to comment.